Jboss7.x 将ActiveMQ 5.11.1与JBoss 7.4.3(EAP 6.3.3)结合使用
我尝试使用Jboss 7.4.3运行嵌入式ActiveMQ,方法是遵循在以下几个站点上找到的安装技巧:Jboss7.x 将ActiveMQ 5.11.1与JBoss 7.4.3(EAP 6.3.3)结合使用,jboss7.x,activemq,Jboss7.x,Activemq,我尝试使用Jboss 7.4.3运行嵌入式ActiveMQ,方法是遵循在以下几个站点上找到的安装技巧: JBAS018559: "activemq-rar-5.11.1.rar" deployed (runtime-name: "activemq-rar-5.11.1.rar") 通常,我将activemq-rar-5.11.1.rar放在standalone/deployments中,并在standalone.xml中添加一个资源适配器配置条目 JBAS018559: "active
JBAS018559: "activemq-rar-5.11.1.rar" deployed (runtime-name: "activemq-rar-5.11.1.rar")
JBAS018559: "activemq-rar-5.11.1.rar" deployed (runtime-name: "activemq-rar-5.11.1.rar")
在扩展部分,我添加了
在条目中
我补充说
<mdb>
<resource-adapter-ref resource-adapter-name="activemq-rar-5.11.1.rar" />
<bean-instance-pool-ref pool-name="mdb-strict-max-pool" />
</mdb>
JBAS018559: "activemq-rar-5.11.1.rar" deployed (runtime-name: "activemq-rar-5.11.1.rar")
我在jndi绑定和试图访问connectionFactory中看不到任何内容
JBAS018559: "activemq-rar-5.11.1.rar" deployed (runtime-name: "activemq-rar-5.11.1.rar")
@Resource(mappedName = "java:jboss/activemq/QueueConnectionFactory")
private ConnectionFactory connectionFactory;
导致此错误的原因:
JBAS018559: "activemq-rar-5.11.1.rar" deployed (runtime-name: "activemq-rar-5.11.1.rar")
service jboss.naming.context.java.jboss.activemq.QueueConnectionFactory (fehlende) Dependents: ...
我遗漏了什么吗?据我所知,如果我将URL配置为vm,嵌入式代理应该自动启动:localhost这是正确的还是我需要做更多?我在资源适配器配置(standalone.xml)中修改了URL更新:EAP 6.3中有一个关于这一点的错误:-有人有通过CLI启动嵌入式message broker的经验吗?据我了解的文档,嵌入式broker应该自动启动,我将URL配置为vm:localhost这是正确的还是我需要做更多?我修改了资源适配器配置(standalone.xml)和rar归档文件中的ra.xml中的URL。更新:EAP 6.3中有一个与此相关的错误:-有人有通过CLI启动嵌入式message broker的经验吗?
JBAS018559: "activemq-rar-5.11.1.rar" deployed (runtime-name: "activemq-rar-5.11.1.rar")