[英]WSO2 CEP IBM MQ and transport.jms.ConcurrentConsumers
I have a WSO2 CEP configured with Input Event Adaptor set to listen on a IBM WebSphere MQ queue. 我有一个WSO2 CEP,配置了输入事件适配器,以侦听IBM WebSphere MQ队列。 Below there is a conf in xml:
下面是xml中的conf:
<inputEventAdaptor name="WEBSPHEREMQ" statistics="disable" trace="disable" type="jms" xmlns="http://wso2.org/carbon/eventadaptormanager">
<property name="java.naming.provider.url">file:/opt/bindings</property>
<property name="transport.jms.SubscriptionDurable">false</property>
<property name="java.naming.factory.initial">com.sun.jndi.fscontext.RefFSContextFactory</property>
<property name="transport.jms.ConnectionFactoryJNDIName">MQ_JMS_MANAGER</property>
<property name="transport.jms.DestinationType">queue</property>
</inputEventAdaptor>
and an event builder with queue set: 以及设置了队列的事件生成器:
<from eventAdaptorName="WEBSPHEREMQ" eventAdaptorType="jms">
<property name="transport.jms.Destination">MSCRM_IN_JMS_QUEUE</property>
</from>
I want to increase transport.jms.ConcurrentConsumers to speed up CEP performance results. 我想增加transport.jms.ConcurrentConsumers以加快CEP性能结果。 Where do I need to put this parameter?
我需要在哪里放置此参数? I have tried in event adaptor and in event builder but it doesn't work.
我已经在事件适配器和事件生成器中尝试过,但是它不起作用。
Thanks a lot for any help!:) 非常感谢您的帮助!
Peter 彼得
Sorry at the moment, there is no any way to pass this property out of the box to jms adaptor. 抱歉,目前没有任何方法可以将此属性直接传递给jms适配器。 But I strongly believe this is a good addition for jms adaptor.
但是我坚信这对于jms适配器是一个很好的补充。 We are doing some improvements related to this by aiming next release.. I have created a jira [1] to track this..
我们将针对下一个发行版进行一些与此相关的改进。我创建了一个jira [1]来跟踪此问题。
[1] https://wso2.org/jira/browse/CEP-884 [1] https://wso2.org/jira/browse/CEP-884
you have two option at the moment, improve the current input jms adaptor by fixing in the source or write a custom jms adaptor for you need.. 您目前有两种选择,可以通过固定源代码来改进当前的输入jms适配器,也可以根据需要编写自定义的jms适配器。
Thanks,Mohan 谢谢,莫汉
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.