Author |
Message
|
krisrock |
Posted: Wed Feb 27, 2008 1:47 pm Post subject: listeners to queues - exceptions... |
|
|
Acolyte
Joined: 11 Sep 2007 Posts: 65
|
We have a setup in which there is an application server, connecting to the queue manager.
We are working on handling the failover for queue manager.
We have the appserver running and queue manager is restarted.
The appserver loses connection to queue manager.
We test this by trying to put a message to the queue manager.
We will be getting an exception.
My doubt is when we restart the appserver , appserver brings all listeners up for the queues on queue manager.
When the queue manager goes down, the listeners will be at stale state. Will the listener be constantly looking on to the queues?
Will it throw any exception or some kind of an alert so that we can capture it in the code? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 27, 2008 3:45 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Make sure you use fail if quiesce in all your qcf/tcf setup and try it out.
Let us know what happens...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
krisrock |
Posted: Thu Feb 28, 2008 7:29 am Post subject: |
|
|
Acolyte
Joined: 11 Sep 2007 Posts: 65
|
I dont get u...can give me more explanation |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 28, 2008 7:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
krisrock wrote: |
I dont get u...can give me more explanation |
If the listening application is coded to use WMQ with fail on quiescing set, then the act of bringing down the queue manager will throw a neat, easily caught exception.
Check out the APG/APR for details. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 28, 2008 3:15 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
krisrock wrote: |
I dont get u...can give me more explanation |
Read the JMS Topologies red book
Read the Using Java manual
Read the manual of your Application server about JNDI setup
Read the Using Java manual for JMSAdmin if your App server is not WebSphere Application Server
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|