Jms 在Servicemix 4.5.3上群集jbi端点

Jms 在Servicemix 4.5.3上群集jbi端点,jms,apache-servicemix,jbi,Jms,Apache Servicemix,Jbi,我正在使用Servicemix 4.5.3,在实例1上部署了使用者端点(HTTP BC),在实例2上部署了提供者端点(HTTP BC),两个实例都通过代理网络互连 当我调用消费者端点时,我得到以下错误: org.apache.servicemix.nmr.api.servicemix异常:无法分派exchange。没有匹配的端点 这很好,因为我没有为提供者和使用者端点启用集群 我遵循这个链接来实现端点的集群 我有两个问题: 1) 如果启用两个端点的集群,目标端点(即提供者端点)现在会被解析吗

我正在使用Servicemix 4.5.3,在实例1上部署了使用者端点(HTTP BC),在实例2上部署了提供者端点(HTTP BC),两个实例都通过代理网络互连

当我调用消费者端点时,我得到以下错误:
org.apache.servicemix.nmr.api.servicemix异常
:无法分派exchange。没有匹配的端点

这很好,因为我没有为提供者和使用者端点启用集群

我遵循这个链接来实现端点的集群

我有两个问题: 1) 如果启用两个端点的集群,目标端点(即提供者端点)现在会被解析吗

2) 当我尝试在实例1上部署消费者服务单元时,出现以下错误。我的xbean配置有什么问题吗? 有人知道这个错误的原因吗

谢谢,, 阿伦

附言: 这是消费者SU中的我的xbean.xml。


错误:

`<stack-trace><![CDATA[org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.servicemix.jbi.cluster.engine.OsgiSimpleClusterRegistration#0' defined in file [/home/ubuntu/ProductionEnvironment/MultiInstanceESB/Test1/data/jbi/aruntest.http.Consumer.endpoint.sa/sus/aruntest.http.consumer.endpoint/xbean.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

Caused by: java.lang.NullPointerException
    at org.apache.servicemix.jbi.cluster.engine.OsgiSimpleClusterRegistration.afterPropertiesSet(OsgiSimpleClusterRegistration.java:43)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethod

This is the line causing the Exception: (OsgiSimpleClusterRegistration.java:43)
serviceRegistration = bundleContext.registerService(ClusterRegistration.class.getName(), this, new Properties());

`JBI已被弃用-如果您正在使用ServiceMix开发新项目,我建议您不要使用JBI。嗨,克劳斯,但这已经是使用JBI开发的现有项目,要启用群集,这是我在网上找到的技术。你有其他建议吗?
`<stack-trace><![CDATA[org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.servicemix.jbi.cluster.engine.OsgiSimpleClusterRegistration#0' defined in file [/home/ubuntu/ProductionEnvironment/MultiInstanceESB/Test1/data/jbi/aruntest.http.Consumer.endpoint.sa/sus/aruntest.http.consumer.endpoint/xbean.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

Caused by: java.lang.NullPointerException
    at org.apache.servicemix.jbi.cluster.engine.OsgiSimpleClusterRegistration.afterPropertiesSet(OsgiSimpleClusterRegistration.java:43)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethod

This is the line causing the Exception: (OsgiSimpleClusterRegistration.java:43)
serviceRegistration = bundleContext.registerService(ClusterRegistration.class.getName(), this, new Properties());