【问题标题】:activemq - create new broker in servicemix/fuseesbactivemq - 在 servicemix/fuseesb 中创建新的代理
【发布时间】:2012-05-31 20:49:19
【问题描述】:

我正在使用 fuseesb 作为我的 esb,我想在 activemq 中创建新消息,所以我正在这样做:

在卡拉夫:activemq:create-broker --name=myBroker

然后我明白了:

    Creating file: @|green .../myBroker-broker.xml|

Default ActiveMQ Broker (myBroker) configuration file created at: .../myBroker-broker.xml
Please review the configuration and modify to suite your needs.

我看到文件已创建,但在 karaf 我看到了:

karaf@root> Exception in thread "SpringOsgiExtenderThread-26" java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
    at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171)
    at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:368)
    at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
    at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
    at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
    at java.lang.Thread.run(Thread.java:679)

我不知道它是什么...

你能帮帮我吗?

【问题讨论】:

  • 这看起来像是一个可能的错误。您能否添加您正在使用的 Karaf 和 A​​ctiveMQ 版本,如果您使用了某个功能,请添加您使用的 URI?另外,如果您正在使用一项功能,您加载了哪些功能?谢谢,斯科特 ES
  • 我正在使用 Apache ServiceMix v4.4.1-fuse-06-03

标签: apache-camel activemq apache-servicemix fuseesb


【解决方案1】:

我有同样的异常,并通过更改我新生成的代理 xml 文件中配置的端口来修复它,这样它们就不会与在 etc/activemq-broker.xml 中配置的默认代理冲突

猜你喜欢
  • 2015-02-16
  • 1970-01-01
  • 1970-01-01
  • 2013-01-06
  • 2018-12-14
  • 2013-01-31
  • 2017-01-05
  • 2012-01-19
  • 1970-01-01
相关资源
最近更新 更多