on 07-12-2013 11:12 AM
Hello,
I understand that JMS channel can not connect to websphere MQ automatically.
When i restart the JMS channel, JMS channel is able to connect to MQ queue.
http://help.sap.com/saphelp_nw73/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
As per above link its clear as what i said above.
Issue: I want my JMS channel to reconnect in case MQ queue is down.
Requirement:
1. I need report/code in PI server which at interval of say 10 minutes checks certain queue manager on the MQ to see if it is down.
2. Is there any webservice in PI which can ping particular queue on MQ to see if its up / down?
3. If particular queue is don the restart the channel. (I can restart the JMS channel in this case through webservice).
Regards,
Vishal
Hi Vishal,
Please check the Connection On-Demand ---> Create Connection ON-Demand in JMS Receiver Adapter.
Please find the below Useful links:
Connection keep alive value on PI side :- You need to give this value depending on use of JMS channel , if you have regularly sending message is in interval (say 2 mins then it better to keep value >2 mins or 120 seconds) so that you can use same connection or if you have to send only few message in day then default value 0 sec is better and not keep connection alive for long time.
http://help.sap.com/saphelp_nw73/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
Thanks,
Maruthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Vishal,
this sounds like you originally wanted to establish some kind of failover scenario where PI reconnects to a different MQ instance, if the original instance fails.
1. Did you see this blog from Anandan? I, however, did not yet succeed in setting this up.
2. What solution did you end up with? I'm really curious because I'm in the middle of evaluating possibilities for failover with MQ myself.
Thanks and kind regards
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.