wso2新的经纪人类型



我通过扩展BrokerType和BrokerTypeFactory实现了一个新的Broker。我想将这个新的Broker部署到WSO2 CEP。我创建了一个broker.xml并将其放在repository/conf目录中

<brokerTypes xmlns="wso2.org/carbon/broker">    
  <brokerType name="jmsQbroker"  class="org.wso2.carbon.broker.core.internal.broker.jms.generic.GenericJMSQueueBr‌​okerType" />   </brokerTypes>

然而,当我浏览到网络控制台中的Broker列表页面时,这会导致NullPointer异常(在BrokerManagerAdminServer的第149行),并且没有显示任何Broker。你能帮助我了解如何在不影响现有代理的情况下部署我的新代理吗?

将外部代理部署到早期版本的CEP时出现一些问题,此问题已修复(从CEP 2.1.0开始)。

您可以在http://suhothayan.blogspot.com/2013/02/writing-custom-broker-for-wso2-cep.html

您可以从以下位置下载CEP 2.1.0 RC:https://svn.wso2.org/repos/wso2/people/suho/packs/cep/wso2cep-2.1.0-RC1.zip

最新更新