I'm using MQSeries 5.2
An application A sends a message with an auto-generated messageId
The client application B gets the messageID from the application A's message et put it on its own correlationID's message.
the application A never get the right correlationID (always a generated one).
I don't use any putMessageOption (MQ<balh-balh>_NONE)
here is the standard output :
##put the corelid in the corellationid field : [B@7a3ac1
message put the correlid after the put is :[B@5e3f2d
and the code :
mqMessage.correlationId = correlid;
logger.debug("##put the corelid in the corellationid field : " + mqMessage.correlationId);
MQPutMessageOptions pmo = new MQPutMessageOptions();
pmo.options = MQC.MQPMO_NONE;
mqqueue.put(mqMessage, pmo);
logger.debug("message put the correlid after the put is :" + mqMessage.correlationId);
Any suggestions ?
Sam
An application A sends a message with an auto-generated messageId
The client application B gets the messageID from the application A's message et put it on its own correlationID's message.
the application A never get the right correlationID (always a generated one).
I don't use any putMessageOption (MQ<balh-balh>_NONE)
here is the standard output :
##put the corelid in the corellationid field : [B@7a3ac1
message put the correlid after the put is :[B@5e3f2d
and the code :
mqMessage.correlationId = correlid;
logger.debug("##put the corelid in the corellationid field : " + mqMessage.correlationId);
MQPutMessageOptions pmo = new MQPutMessageOptions();
pmo.options = MQC.MQPMO_NONE;
mqqueue.put(mqMessage, pmo);
logger.debug("message put the correlid after the put is :" + mqMessage.correlationId);
Any suggestions ?
Sam