简体   繁体   English

WSO2 ESB JMS侦听器在运行时配置

[英]WSO2 ESB JMS listener configuration at runtime

I am trying to add new parameter from WSO2 admin console Transport Management -> JMS Listener screen (don't want to use axis2.xml as I want updates to be used by proxy services without re-starting servers - hope this is possible ?). 我正在尝试从WSO2管理控制台“传输管理”->“ JMS侦听器”屏幕中添加新参数(不想使用axis2.xml,因为我希望更新由代理服务使用而无需重新启动服务器-希望有可能吗?) 。 While adding new parameter I am getting following error - 添加新参数时出现以下错误-

Error while initializing JMS listener java.lang.String cannot be cast to org.apache.axiom.om.OMElement 初始化JMS侦听器java.lang.String时出错,无法转换为org.apache.axiom.om.OMElement

Can you please advise what should be the format of parameter value. 您能告诉我参数值的格式应该是什么。 I am trying to add similar value as available under "default" or "myQueueConnectionFactory". 我试图添加类似的值作为“默认”或“ myQueueConnectionFactory”下的可用值。

I tested your scenario and this seems to be a bug with ESB. 我测试了您的方案,这似乎是ESB的错误。 Go to JMS Listener Configuration and click on Update without any change to the default parameter values. 转到“ JMS侦听器配置”,然后单击“ Update而不更改默认参数值。 Even then the same error is thrown. 即使那样,也会引发相同的错误。 So I have reported this issue at https://wso2.org/jira/browse/ESBJAVA-2412 . 因此,我已在https://wso2.org/jira/browse/ESBJAVA-2412上报告了此问题。

Unfortunately for now you will have to configure the parameters through axis2.xml until this issue is fixed. 不幸的是,在解决此问题之前,您现在必须通过axis2.xml配置参数。 You can enable/disable the listeners through management console without any issue. 您可以通过管理控制台启用/禁用侦听器,而不会出现任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM