让基于Apache Camel的应用程序通过Websphere MQ向SWIFT提交消息
<SwMsg:TransferAnswer>Failed Storage</SwMsg:TransferAnswer>
<SwMsg:TransferError>
<SwMsg:ErrorCode>Sw.Gbl.MQMDError</SwMsg:ErrorCode>
<SwMsg:ErrorText>MQMD.Format field is not valid</SwMsg:ErrorText>
</SwMsg:TransferError>
尝试将JMS_IBM_MQMD_Format设置为MQSTR,MQFMT_NONE,MQRFH2等 尝试将JMSMessage类型更改为文本,字节
仍然是毯子拒绝消息是唯一的回复
答案 0 :(得分:1)
setting the header JMS_IBM_Format to blank solved the issue However setting JMS_IBM_MQMD_Format to blank didnt help
this is the camel property i am setting and it working as expected