Posted: Wed Apr 24, 2013 7:51 am Post subject: WMQ automatic client reconnection and PCF
Newbie
Joined: 24 Apr 2013 Posts: 1
I am using MQQueueConnectionFactory along with the CONNECTIONNAMELIST parameter to failover to one of 2 different queue managers.
This is working splendidly for the majority of my application, but I am having a serious problem since I also use PCFMessageAgent. This native MQ (read non-JMS) agent worked fine when I was only connecting to a single queue manager, but not with the requirement to fail over using the JMS MQQueueConnectionFactory. How do I make sure the PCF agent connects to the same queue manager that MQQueueConnectionFactory will (seamlessly) interact with?
I can see that PCFMessageAgent will take a MQQueueManager but there is no way to bring that in from the JMS MQQueueConnectionFactory.
Any ideas on how to interoperate with JMS and automatic client reconnection and a PCF agent?
Would interrogating MQQueueConnectionFactory for hostname and port be enough to re-initialize the PCF agent directly in an exception listener?
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