ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 8 matches
Author Message
  Topic: how caon i assign correlation id to response maessage
paolone

Replies: 8
Views: 9605

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 28, 2010 4:32 am   Subject: how caon i assign correlation id to response maessage
yes, i get 2033 (no message available). anyway the message is in the queue but with with correlationid=0 and his own (unic) messageid...

i don't understand why...
thanks Mr Butcher
  Topic: how caon i assign correlation id to response maessage
paolone

Replies: 8
Views: 9605

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 28, 2010 2:59 am   Subject: how caon i assign correlation id to response maessage
i'm sorry, i changed the code as you made me notice in the last post.

MQMessage queueMessage = new MQMessage();
queueMessage.WriteString(messqaggio);
queueMessage.Format = MQC.MQFMT_STRING;
queu ...
  Topic: how caon i assign correlation id to response maessage
paolone

Replies: 8
Views: 9605

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 28, 2010 2:10 am   Subject: how caon i assign correlation id to response maessage
i am not a java guru, but

queuePutMessageOptions.Options = MQC.MQRO_COPY_MSG_ID_TO_CORREL_ID;

MQRO_COPY_MSG_ID_TO_CORREL_ID is a report option, not a put message option.

in addition i do not ...
  Topic: how caon i assign correlation id to response maessage
paolone

Replies: 8
Views: 9605

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 28, 2010 12:46 am   Subject: how caon i assign correlation id to response maessage
Hi, i'm trying to assign the correlation id to a response message.


MQMessage queueMessage = new MQMessage();
queueMessage.WriteString(messqaggio);
queueMessage.Format = MQC.MQFMT_STRING;
queue ...
  Topic: help retrive message from a queue
paolone

Replies: 7
Views: 4409

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 27, 2010 6:53 am   Subject: help retrive message from a queue
ok, i understood the problem but where and how i tell the get method which message retrive (how can associate the request messageid whit the response correlation id?)

You specify the id in question ...
  Topic: help retrive message from a queue
paolone

Replies: 7
Views: 4409

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 27, 2010 6:26 am   Subject: help retrive message from a queue
MQ copy the message ID in the correlationID of the response queue so that the GET metod retrive the right message.

How does the GET know which request you're looking for the response of?

Where s ...
  Topic: help retrive message from a queue
paolone

Replies: 7
Views: 4409

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 27, 2010 6:03 am   Subject: help retrive message from a queue
You set the match options to read a message by correl id. At what point in the code do you specify which correl id it should match on?

thanks for replay...i'm despered:)

Nowhere. I have ...
  Topic: help retrive message from a queue
paolone

Replies: 7
Views: 4409

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 27, 2010 5:24 am   Subject: help retrive message from a queue
Hello. I'm trying to put a message on a requestQueue and retrive the response on a responseQueue. The put and the get seems to work but it seems that the response i read is the "first" in th ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.