IBM MQ8是否与JBoss EAP 7.1兼容?

IBM MQ8是否与JBoss EAP 7.1兼容?,jboss,ibm-mq,Jboss,Ibm Mq,我在google和stack overflow中到处搜索这个 我们在一个使用JBoss EAP 6.3和IBM MQ 8.0的项目中。 现在,我们正在迁移到JBoss EAP 7.1,在这个过程中,我们在服务器上部署war时遇到了一些问题。错误是这样的 Failed to start service jboss.undertow.deployment.default-server.default-host.<<war File Name>>: org.jboss.msc.

我在google和stack overflow中到处搜索这个

我们在一个使用JBoss EAP 6.3和IBM MQ 8.0的项目中。 现在,我们正在迁移到JBoss EAP 7.1,在这个过程中,我们在服务器上部署war时遇到了一些问题。错误是这样的

Failed to start service jboss.undertow.deployment.default-server.default-host.<<war File Name>>: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host.<<war File Name>>: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camelContext' defined in class path resource [com/.../CamelConfiguration.class]: Invocation of init method failed; nested exception is org.apache.camel.FailedToCreateRouteException: Failed to create route XXXRequestRoute: Route(XXXRequestRoute)[[From[webSphereMQ:queue:<<queue name>> because of Failed to resolve endpoint: webSphereMQ://queue:<<queue name>>?concurrentConsumers=5 due to: No component found with scheme: webSphereMQ

Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camelContext' defined in class path resource [com/.../CamelConfiguration.class]: Invocation of init method failed; nested exception is org.apache.camel.FailedToCreateRouteException: Failed to create route XXXRequestRoute: Route(XXXRequestRoute)[[From[webSphereMQ:queue:<<queue name>>... because of Failed to resolve endpoint: webSphereMQ://queue:<<queue name>>?concurrentConsumers=5 due to: No component found with scheme: webSphereMQ
无法启动服务jboss.undertow.deployment.default server.default host.:org.jboss.msc.service.StartException in service jboss.undertow.deployment.default server.default host.:java.lang.RuntimeException:org.springframework.beans.factory.BeanCreationException:创建类路径中定义了名称为“camelContext”的bean时出错resource[com/../CamelConfiguration.class]:调用init方法失败;嵌套异常为org.apache.camel.FailedToCreateRouteException:未能创建路由XXXRequestRoute:路由(XXXRequestRoute)[[来自[webSphereMQ:queue:因为未能解析端点:webSphereMQ://队列:?concurrentConsumers=5,原因是:未找到具有scheme:webSphereMQ的组件
原因:java.lang.RuntimeException:org.springframework.beans.factory.BeanCreationException:创建在类路径资源[com/../CamelConfiguration.class]中定义了名称为“camelContext”的bean时出错:调用init方法失败;嵌套异常为org.apache.camel.FailedToCreateRouteException:未能创建路由XXXRequestRoute:route(XXXRequestRoute)[来自[webSphereMQ:queue:…因为未能解析端点:webSphereMQ://队列:?concurrentConsumers=5,因为:未找到具有scheme:webSphereMQ的组件
我可以在下面的位置搜索并找到一些IBM MQ限制(使用JBoss EAP 7.1)

但是这个限制是关于IBM MQ 7.5的,而不是关于IBM MQ 8.0的


有人能帮我告诉我这个限制是否也适用于IBM MQ 8吗?

您指的是哪个限制

至于文档,您应该至少使用IBM MQ JCA适配器的版本7.5.0.6或8.0.0.6


JBoss EAP 7.1确实符合JCA 1.7规范。IBM MQ 8 JCA也是JCA 1.7版。

很抱歉我回答得太晚了。 事实上,我之前发布的网页链接已经给出了答案

这就是我们为行动所做的! 第31.4.1节与问题中的链接相同。。。 本节的具体要点如下所示

IBM WebSphere®MQ 7.5资源适配器的部署不可用 为您的部署加载javax.jms.api模块 为新的javeee7注释提供支持,如 @JMSConnectionFactoryDefinitions,@JMSDestinationDefinition。它是 将消息传递activemq子系统置于 配置以启用它。如果您不希望JBoss EAP消息传递 要启动服务器,请添加空的消息传递activemq子系统


只需在独立xml中添加给定的子系统标记,我们就可以继续了


谢谢!

看看这是否有帮助,只有链接的答案是好的。链接可以更改。最好提供链接,然后在答案中引用页面中的相关信息。根据您的建议编辑Josh。谢谢!
<subsystem xmlns="urn:jboss:domain:messaging-activemq:1.0">
</subsystem>