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 » [Solved] Messages correlation by messageID

Post new topic  Reply to topic
 [Solved] Messages correlation by messageID « View previous topic :: View next topic » 
Author Message
yaakovd
PostPosted: Wed Aug 06, 2003 5:00 am    Post subject: [Solved] Messages correlation by messageID Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

In our application we are using JMS for MQ Series (5.2.1 or 5.3 on NT and Sun) connection.

Application 1 sends a request to MQ --> application 2 gets a message and generates response message on other queue.
Correlation between request and response should be done by mesaageID in request, which copied to response by APP2.
But APP1 must know what is the request messageID.

Which API can be used to solve that problem?
My understanding, when I create a message in APP1, messageID is still unknown and generated later by MQ.
Is there some possibility to return messageID (by QueueSender, for example) ?

I will apreciate any help.
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
techno
PostPosted: Wed Aug 06, 2003 7:45 am    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

You will have messageId after send. so, after putting the message, get the messageid of that message.....
Back to top
View user's profile Send private message
yaakovd
PostPosted: Wed Aug 06, 2003 7:50 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Grate!!!!!!!!!!!

it worked
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » [Solved] Messages correlation by messageID
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.