Author |
Message
|
pardhunani143 |
Posted: Tue Feb 16, 2016 9:54 pm Post subject: Reply to Queue in Multihopping |
|
|
Novice
Joined: 23 Jul 2013 Posts: 22
|
I am practicing Multi hopping. The scenario is mentioned below
QMA->QMB->QMC
I am successful in sending messages from QMA to QMC.
An application opens a remote queue on QMA and place message in QMC and expects reply in queue 'REPLY' in QMA.
I created a local queue 'REPLY' in QMA.
What are the objects that i should create in QMC and QMB such that i get reply messages in 'REPLY' queue in QMA?
i studied intercommunication manual but this scenario is not explained.
Please provide your valuable suggestions |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Feb 16, 2016 10:36 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
If you are using a request reply model then looking at the ReplyToQ and ReplyToQMGR fields in the MQMD when the message gets to QMC should give you an idea.
IF (for example) the ReplyToQMGR says 'QMA' then you have to provide a Queue Manager Alias on QMC called QMA. This would point to QMB where there is similar alias for QMA that points to the right QMGR
IF you are not using a request reply model then just doing what you did to get from QMA to QMC in reverse should do it.
I hope you have DLQ's defined on your QMGRS. This will help you find things that can't be delivered.
Just an idea. Someone else will probably be along with another one shortly. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Feb 17, 2016 4:45 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
What have you tried? What were the results?
Distributed queuing requires a QRemote definition on QMA, transmission queues, and sender-receiver channels between QMA-QMB, and QMB-QMC, so that the request message to flow from QMA->QMB->QMC. For the reply message to flow back to QMA, you will need a transmission queue, sender-receiver channels between each qmgr QMC->QMB->QMA.
No queue-manager aliases are needed. _________________ 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 |
|
 |
fjb_saper |
Posted: Wed Feb 17, 2016 5:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
bruce2359 wrote: |
No queue-manager aliases are needed. |
... if you provide a DEFAULT path for the messages to flow. Otherwise you do need qmgr aliases to route the messages, or ReplyTo queue aliases (qr)  _________________ MQ & Broker admin
Last edited by fjb_saper on Wed Feb 17, 2016 5:29 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 17, 2016 5:27 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
And there are security risks in using DEFAULT paths. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Feb 17, 2016 8:07 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
smdavies99 wrote: |
I\Someone else will probably be along with another one shortly. |
See... I told you so, _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|