This is what needs to be done:
The AS400 sends a message the Unix MQ server. The correlation id is populated by the MQ server. After processing, if there is an error, a response needs to be sent. The ...
The issue is totally with byte array and string.
While the byte array does start with some string the CCSID the string is in will vastly vary depending on the CCSID of the source qmgr.
Use getJMSCorrelationID. DO NOT USE getJMSCorrelationIDAsBytes as they are not equivalent. If you use the latter you have to treat the result as a byte
We have setup Weblogic 8.1 Foreign JMS (on Linux) to connect to Websphere MQ using filessytem (.bindings file). The Weblogic connects to a MQ server on UNIX which receives msgs from AS400 MQ. The MDB ...