简体   繁体   English

从 apache camel spring 应用程序向 IBM -MQ 推送消息时出错

[英]Getting an error while pushing message to IBM -MQ from apache camel spring application

I am getting below error while pushing a message from apache camel component to IBM-MQ.将消息从 apache camel 组件推送到 IBM-MQ 时出现以下错误。

Error:-
Caused by: com.ibm.msg.client.jms.DetailedMessageFormatException: JMSCC0050: The property name 'JMS_Solace_DeadMsgQueueEligible' is reserved and cannot be set.

Below are my pom jars i am using -以下是我正在使用的 pom jars -

<camel-spring-boot-starter.version>2.21.0</camel-spring-boot-starter.version>
<camel-spring.version>2.21.0</camel-spring.version>
<camel-jms.version>2.21.0</camel-jms.version>

I am running the application using spring boot container.我正在使用 Spring Boot 容器运行应用程序。

Try to remove that header, something a like:尝试删除该标题,例如:

   from solace
     removeHeaders("JMS_Solace*")
     to ibmmq

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

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