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 » Clustering » How to send messasge to specified qm in this scenario

Post new topic  Reply to topic
 How to send messasge to specified qm in this scenario « View previous topic :: View next topic » 
Author Message
terry902
PostPosted: Tue Jun 02, 2015 12:48 am    Post subject: How to send messasge to specified qm in this scenario Reply with quote

Novice

Joined: 10 Oct 2014
Posts: 15

QM1,QM2,QM3 in a cluster CL.
Q1 is a cluster queue,resides in QM2 and QM3.

My app used MQ java classes not JMS api, only communicate with QM1.
How can I send message to Q1(QM2) or sometimes to Q1(QM3) according to the input parameter.

In JMS API, the code below can works well.
......session.createQueue("queue://QM2/Q1")
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jun 02, 2015 1:42 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Why would you want to break the clustering paradigm? Why do you care that a particular message goes to a particular queue manager; unless it's a reply to a request message? And it appears you have also answered your own question.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jun 02, 2015 2:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Check the overloaded versions of the accessQueue API. You'll find all that you need there.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Jun 02, 2015 4:38 am    Post subject: Re: How to send messasge to specified qm in this scenario Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

terry902 wrote:
How can I send message to Q1(QM2) or sometimes to Q1(QM3) according to the input parameter.

What input parameter?
Back to top
View user's profile Send private message
terry902
PostPosted: Tue Jun 09, 2015 5:57 am    Post subject: Reply with quote

Novice

Joined: 10 Oct 2014
Posts: 15

exerk wrote:
Why would you want to break the clustering paradigm? Why do you care that a particular message goes to a particular queue manager; unless it's a reply to a request message? And it appears you have also answered your own question.



yes,it's a reply to a request message.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 09, 2015 6:04 am    Post subject: Reply with quote

Grand High Poobah

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

terry902 wrote:
exerk wrote:
Why would you want to break the clustering paradigm? Why do you care that a particular message goes to a particular queue manager; unless it's a reply to a request message? And it appears you have also answered your own question.



yes,it's a reply to a request message.


Then you have your answer.
_________________
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 » Clustering » How to send messasge to specified qm in this scenario
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.