bean的意义是activemq Tx?

时间:2012-07-26 10:26:46

标签: activemq apache-camel

我遇到了Camel事务的麻烦,经过骆驼列表的一些很好的帮助后,我最终将其跟踪到在id为'activemq'的bean中使用org.apache.activemq.camel.component.ActiveMQComponent。如果我使用'activemqTx'的id,它就可以了。但我似乎无法找到关于'activemqTx'作为bean id的重要性的任何文档。

只有一条消息通过此路径:

<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">

一切都适用于此:

<bean id="activemqTx" class="org.apache.activemq.camel.component.ActiveMQComponent">

1 个答案:

答案 0 :(得分:0)

必须是bean名称冲突