Author |
Message
|
balu2608 |
Posted: Wed Dec 05, 2012 2:48 am Post subject: Connecting two queue manager |
|
|
 Apprentice
Joined: 18 May 2012 Posts: 39
|
Hi all,
I wanted to connect two queue managers which are in different 0r some times in the same system ,
now i have created in QM1 Remote Queue,Transmission Queue,Local Queue,Sender & Receiver Channels,in same way i have created for the QM2,
Now this is the Two way communication in which request & Reply pattern ,QM1 will place the message in Their remote queue and from their it comes to QM2 local queue where we will be giving the defnition queue for that,
where we will process through message broker and we will get the response from host and we have to reply to the same queue manager QM1,where we sending through the QM2 remote queue to local queue in QM1 by setting reply to queuemanger in rfhutil.
Is this is the right way to send or is their any other mehods to process this one
please any one can help me..................... |
|
Back to top |
|
 |
McueMart |
Posted: Wed Dec 05, 2012 3:38 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
Does it work? It sounds ok to me.
The only think that might look wrong:
Quote: |
where we sending through the QM2 remote queue to local queue in QM1 by setting reply to queuemanger in rfhutil. |
You have a Remote Queue defined on QM2 (which will route the message back to QM1), so the reply-to-queuemanager should be QM2 I believe.[/quote] |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Dec 05, 2012 4:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Whatever name you put into the ReplyToQmgr needs to be resolvable to an object that exists on the queue manager that the application trying to send the reply is connected to.
So if I have App1->QM1->QM2->QM3->QM4->App2, then whatever value I put into ReplyToQmgr needs to be findable on QM4, so the message can move from QM4->QM3. Likewise, that name then needs to be findable on QM3 so it can move QM3->QM2, and so on and so on and so on.
It's obviously a simpler picture if it's only App1->QM1->QM2->App2. |
|
Back to top |
|
 |
balu2608 |
Posted: Thu Dec 06, 2012 2:13 pm Post subject: connectin queue managers |
|
|
 Apprentice
Joined: 18 May 2012 Posts: 39
|
Thanks mart & mqjerit,i have tryed i got the sucess,my question is their any other option better then this.i tryed by giving the reply to qeue manager name as the QM2 and reply to queue has remote queue of QM2,
right,pls tell me if iam mistaken |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 06, 2012 2:26 pm Post subject: Re: connectin queue managers |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
balu2608 wrote: |
Thanks mart & mqjerit,i have tryed i got the sucess,my question is their any other option better then this.i tryed by giving the reply to qeue manager name as the QM2 and reply to queue has remote queue of QM2,
right,pls tell me if iam mistaken |
Are you mistaken in what?
When any application attempts to put a message to a destination queue, the queue must exist. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
balu2608 |
Posted: Fri Dec 07, 2012 10:02 pm Post subject: |
|
|
 Apprentice
Joined: 18 May 2012 Posts: 39
|
Thanks bruce ,i didnt do any mistake iam asking for better option |
|
Back to top |
|
 |
mqjeff |
Posted: Sat Dec 08, 2012 6:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
balu2608 wrote: |
Thanks bruce ,i didnt do any mistake iam asking for better option |
Better how? |
|
Back to top |
|
 |
McueMart |
Posted: Mon Dec 10, 2012 1:14 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
Clustering is another approach of 'connecting two queue managers' if that is what you are after? Else the method you described seems pretty standard. |
|
Back to top |
|
 |
|