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 » IBM MQ Java / JMS » My program don't receive message with specific CORRELID (2)

Post new topic  Reply to topic
 My program don't receive message with specific CORRELID (2) « View previous topic :: View next topic » 
Author Message
alexassis
PostPosted: Mon Dec 13, 2004 6:26 am    Post subject: My program don't receive message with specific CORRELID (2) Reply with quote

Newbie

Joined: 10 Dec 2004
Posts: 6



The class was modified as suggested. It repairs that messageid of the sent message and the same correlid of
the message to be chore. The queue will count 5 messages, to put the recouped message was not the one that contains correlid
specified.
Correlid of the return this being initialized with messageid of the
sending message.

--------------------------------------------------------------------------------------
LOG:

-> Before MQPUT:
PUT Msg Id : <null> (MQMI_NONE)
PUT Correl Id :<null> ( MQCI_NONE)

-> After MQPUT
PUT Msg Id :AMQ DES.HIPERCARH«Az
PUT Correl Id:<null>

-> Before MQGET
GET Msg Id A:<null>
GET Msg CorrelId :AMQ DES.HIPERCARH«Az
Back to top
View user's profile Send private message MSN Messenger
bower5932
PostPosted: Mon Dec 13, 2004 6:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I'm not sure that I understand what is going on in this thread. It looks like it is something to do with message and correlation id's. Your sample output seems to show that you put a message and got a message id that ended up being the correlation id for your reply. This may be expected if the program that responds moves the incoming message id to the outgoing correlation id.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jefflowrey
PostPosted: Mon Dec 13, 2004 7:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I answered his other thread, in which he seemed confused about the value of the correlation ID he was receiving.

I read it to be "I think my program is not working, because when I look at the correlation ID I got, it does not seem to be the same as the one I asked for".

Of course, MQ will not retrieve a message that doesn't have a matching correlation ID, if you ask it to match the correlation ID.

So I thought he was getting confused by the output he was seeing. And it seems he may still be confused by this.

If he converts the bytes of the message and correlation IDs to hex values, and prints them, then he should see the right and same thing for the outgoing message ID and the incoming correlation ID.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 13, 2004 10:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What do you see after your GET?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
alexassis
PostPosted: Tue Dec 14, 2004 3:56 am    Post subject: Reply with quote

Newbie

Joined: 10 Dec 2004
Posts: 6

Hi Jeff,

When I try to get a specific message, it returns me the first message stored in the line, as if correlid and messageid was been inicializado with MQCI_NONE and MQMI_NONE.

Regards,
ALEX
Back to top
View user's profile Send private message MSN Messenger
alexassis
PostPosted: Wed Dec 15, 2004 11:50 am    Post subject: Reply with quote

Newbie

Joined: 10 Dec 2004
Posts: 6

Exists a problem in the classroom of the MQ Linux bindings, when an attempt to get a message using correlationid is made . This problem is corrected applying the CSD03.
Here it is the text where the problem is described:

71084 - Get matching by correlid does not work for Linux
bindings. Attempting to get a message, by specifying a
correlation ID fails when using the Linux bindings. The
symptom of the failure is that the get operation
succeeds but does not perform the matching and instead
returns the first message found.

Regards,
ALEX
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » My program don't receive message with specific CORRELID (2)
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.