【问题标题】:What is the significane of bean id activemqTx?bean is activemq Tx有什么意义?
【发布时间】: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


【解决方案1】:

一定是豆名冲突

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-10-03
    • 2018-05-02
    • 2011-09-26
    • 2010-11-29
    • 2010-10-15
    • 2011-02-05
    • 2012-02-28
    • 2018-01-13
    相关资源
    最近更新 更多