我用fuseesb作爲我的ESB,我想創造的ActiveMQ打破新的消息,讓我做:ActiveMQ的 - 在ServiceMix中創造新的經紀人/ fuseesb
在karaf: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我看到那麼:
[email protected]> 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和ActiveMQ版本,如果你使用了一個特性,你使用的URI?另外,如果您使用的是功能,您加載了哪些功能?謝謝,Scott ES – sully6768
我使用Apache ServiceMix v4.4.1-fuse-06-03 – Ilkar