Announcement Announcement Module
Collapse
No announcement yet.
int:logging-channel-adapter identify each Message Channel Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • int:logging-channel-adapter identify each Message Channel

    Hello guys

    I have the follow code which is applied globally for many Message Channels

    Code:
    <int:wire-tap pattern="*Channel" channel="logger" />
    	
    <int:logging-channel-adapter id="logger"								 
                                 level="INFO"								 					 
                                 log-full-message="true"	
    					/>
    I can see the complete payload and headers for each Message since I have true the attribute log-full-message, my problem is, I have no way to indentify which Message Channel is actually intercepted explicitly among the others, I want avoid implement a Custom Intecerptor

    Is possible get this feature?

    Thank you

  • #2
    Yes, if you enable MessageHistory, than he channel information wil be available in MessageHistory header thus visible in the logged Message.

    Comment


    • #3
      Hello Oleg

      Yes, if you enable MessageHistory, than he channel information wil be available in MessageHistory header thus visible in the logged Message
      Thank you

      Impressive how adding this line
      Code:
      <int:message-history/>
      Now I am able to see all the history or trace of the Message sent it

      Thanks a lot!

      Comment

      Working...
      X