Reputation: 20096
If I add this to my context:
<integration:message-history/>
I get a message header populated with the names (ids) of all the named components through which the message has passed.
But if I have a chain:
<integration:chain id="inboundChain" input-channel="inboundChannel">
<integration:transformer ref="myTransformer"/>
<integration:filter ref="myFilter"/>
<integration:router ref="myRouter"/>
</integration:chain>
I only get "inboundChain" in the list of components, as I can not add an id to the components nested in the chain.
Any way to get myTransformer etc into the message history?
Upvotes: 2
Views: 1009