|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Active-active configuration of source system |
« View previous topic :: View next topic » |
Author |
Message
|
Qadeer_824 |
Posted: Fri Oct 03, 2008 7:43 am Post subject: Active-active configuration of source system |
|
|
 Acolyte
Joined: 04 Oct 2007 Posts: 59
|
Hi,
I have been given a requirement where i have two source systems which are in an active-active configuration. Each of these servers have MQ installed on them.
There is a Request-Response interface which is being implemented as a combination of two flows, one to handle the request message and the other one to handle response.
As both are in active-active configuration, data can come from any system. so i can create identical queues on both the systems which connect to same queue on broker server.
However, when i send the response, i must send it to the correct queue manager. i.e if request came from primary server, the response should go to primary server. Similarly if request came from secondary server, response goes to secondary.
Is there a way to achieve this?
Is using clustered queues & queue managers the way to resolve this?
Does reply to queue manager help in any way ?
Please advise.
Thanks,
Qadeer |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 03, 2008 2:03 pm Post subject: Re: Active-active configuration of source system |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Qadeer_824 wrote: |
Hi,
I have been given a requirement where i have two source systems which are in an active-active configuration. Each of these servers have MQ installed on them.
There is a Request-Response interface which is being implemented as a combination of two flows, one to handle the request message and the other one to handle response.
As both are in active-active configuration, data can come from any system. so i can create identical queues on both the systems which connect to same queue on broker server.
However, when i send the response, i must send it to the correct queue manager. i.e if request came from primary server, the response should go to primary server. Similarly if request came from secondary server, response goes to secondary.
Is there a way to achieve this?
Is using clustered queues & queue managers the way to resolve this?
Does reply to queue manager help in any way ?
Please advise.
Thanks,
Qadeer |
Read up and lookup the examples for request-reply.
The doc is quite clear. What you need is a default path between service and requester. Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ovasquez |
Posted: Fri Oct 03, 2008 4:37 pm Post subject: Re: Active-active configuration of source system |
|
|
 Centurion
Joined: 09 Dec 2005 Posts: 141 Location: Lima, Peru
|
Is there a way to achieve this?
you can use WMQ clusters
Is using clustered queues & queue managers the way to resolve this?
yes
Does reply to queue manager help in any way ?
When source application send response message only set ReplyToQMgr in MQMD
Qadeer_824 wrote: |
Hi,
I have been given a requirement where i have two source systems which are in an active-active configuration. Each of these servers have MQ installed on them.
There is a Request-Response interface which is being implemented as a combination of two flows, one to handle the request message and the other one to handle response.
As both are in active-active configuration, data can come from any system. so i can create identical queues on both the systems which connect to same queue on broker server.
However, when i send the response, i must send it to the correct queue manager. i.e if request came from primary server, the response should go to primary server. Similarly if request came from secondary server, response goes to secondary.
Is there a way to achieve this?
Is using clustered queues & queue managers the way to resolve this?
Does reply to queue manager help in any way ?
Please advise.
Thanks,
Qadeer |
_________________ Oscar Vásquez Flores |
|
Back to top |
|
 |
hopsala |
Posted: Mon Oct 06, 2008 7:31 am Post subject: Re: Active-active configuration of source system |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
Qadeer_824 wrote: |
As both are in active-active configuration, data can come from any system. so i can create identical queues on both the systems which connect to same queue on broker server. |
As has already been said here, MQ Cluster is the way to go.
Also note that you shouldn't use remote queue definitions in a cluster setup (your question denotes you're using them now), otherwise you won't get the required result. |
|
Back to top |
|
 |
echoesian |
Posted: Mon Oct 06, 2008 7:20 pm Post subject: Re: Active-active configuration of source system |
|
|
Apprentice
Joined: 30 May 2008 Posts: 33
|
Qadeer_824 wrote: |
Hi,
I have been given a requirement where i have two source systems which are in an active-active configuration. Each of these servers have MQ installed on them.
There is a Request-Response interface which is being implemented as a combination of two flows, one to handle the request message and the other one to handle response.
As both are in active-active configuration, data can come from any system. so i can create identical queues on both the systems which connect to same queue on broker server.
However, when i send the response, i must send it to the correct queue manager. i.e if request came from primary server, the response should go to primary server. Similarly if request came from secondary server, response goes to secondary.
Is there a way to achieve this?
Is using clustered queues & queue managers the way to resolve this?
Does reply to queue manager help in any way ?
Please advise.
Thanks,
Qadeer |
You can use the Reply-To-Queue so specifiy which queue and queue manager you wanna reply back to |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|