|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
check broker with broker names |
« View previous topic :: View next topic » |
Author |
Message
|
kuntalkt |
Posted: Thu Aug 30, 2012 12:06 am Post subject: check broker with broker names |
|
|
Newbie
Joined: 19 Jun 2012 Posts: 1
|
Hello,
I m working on a process which will be deployed in two brokers, I need to check with the broker whether that broker has process that request or not, if it has process that request it will exit or if not it will execute the process, it will be infinite loop until and unless both broker process the same request.
Can any one help me on this how to achieve.
Thanks
KT |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 30, 2012 4:32 am Post subject: Re: check broker with broker names |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kuntalkt wrote: |
Can any one help me on this how to achieve. |
Only once you've explained it more clearly!
So you've got 2 brokers, with the same process deployed to both. You seem to be asking how to check if one instance of the broker has processed a given request so that the other broker can either process it or exit.
This can't be what you're actually asking, because this is ridiculous. One broker should never even know of the existence of any other broker, never mind what's deployed to it or what work it's doing.
So you need to explain it again. Perhaps you could step through your design? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
NealM |
Posted: Fri Aug 31, 2012 9:23 am Post subject: |
|
|
 Master
Joined: 22 Feb 2011 Posts: 230 Location: NC or Utah (depends)
|
Beyond the ridiculous, think common database table and/or cross-broker cache memory (ia91 support pac, or built-in in MB v8.0.0.1) |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 31, 2012 9:50 am Post subject: Re: check broker with broker names |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
kuntalkt wrote: |
it will be infinite loop until and unless both broker process the same request. |
The first difficulty is making sure that both brokers get all of the same requests.
Until you've solved that problem, you can't solve anything else.
And once you solve that problem, you may find that you don't need to do anything else. |
|
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
|
|
|
|