开发者

Can I enable Spring Integration message history inside a chain?

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?


Answer is no.

See spring forum post here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜