【发布时间】:2012-07-31 19:55:54
【问题描述】:
我一直在处理 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">
【问题讨论】:
-
似乎是一条红鲱鱼。调用 bean 除了 'activemq' 之外的任何东西都有效。一定是某个地方的豆子冲突......
-
这很奇怪...无论哪种方式,标记为已回答/已关闭...
标签: activemq apache-camel