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 API Support » How to put the message in the other qmanager?

Post new topic  Reply to topic
 How to put the message in the other qmanager? « View previous topic :: View next topic » 
Author Message
youngcool
PostPosted: Wed Oct 18, 2006 12:35 am    Post subject: How to put the message in the other qmanager? Reply with quote

Newbie

Joined: 09 Oct 2006
Posts: 5

My application is using the queue manager. when it recieve the msg, analyze it and get the destination queue and queue manager from this manager, how to put this msg to the its special queue? I want to know
whether there have some function to work together to do it.

Attention:

1. you can't disconnect the default qmanager.
2. you can't use the thread technology.
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Wed Oct 18, 2006 12:45 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Your question doesn't realy seem to make sense to me. I don't see your problem.
If the 'special queue' is on the same queue manager just open that queue and put the message into it. If it is on a different queue manager, define a remote queue and channels (or use clustering) and use that for putting.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 18, 2006 3:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You just specify the queue name and the queue manager name in the object description that you pass to the open call.

MQ networking will take care of the rest, regardless of if you define a remote queue or not - assuming that MQ networking *can* find how to deliver it. If it *can't* find out how to deliver it... you will get a ReasonCode indicating that when you PUT.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
youngcool
PostPosted: Wed Oct 18, 2006 5:17 pm    Post subject: Reply with quote

Newbie

Joined: 09 Oct 2006
Posts: 5

thanks you very much.
I describe this problem in details.
I define a variable its type is 'ImqMessage', it have the member function "replyToQueueManagerName" and "replyToQueueName".
I want to put msg into its destination according to the return value of "replyToQueueManagerName " and "replyToQueueName".

my question is how to realize it using c++ and only the mq channel component ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 19, 2006 2:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Just use the "replyTo...." data items in the object descriptor as jefflowrey has suggested.

The Using C++ manual details how to achieve this, along with how to establish a client connection.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » How to put the message in the other qmanager?
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.