Posted: Tue Aug 24, 2004 12:46 pm Post subject: MQSeries help
Voyager
Joined: 13 Jul 2004 Posts: 84
Hi Friends,
I need some help...here's my situation.
I have java program that read files from the MQ queues and write to file. and my problem is when Queue managers are down or not working it returns me an error code. I am wondering if there's any way if in case of error due to Queue manager is down ...it should re check the Queue manager until it get available and make connection...
Is there any fucntion ? or any code you guys can share ? solution?
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
Just look at most any of the Java sample programs in the repository on this site and you'll see examples of how they deal with potential failures during various calls. MQ operations return various "compcode" and "reason" pairs, and you can inspect these to figure out exactly what went wrong and respond appropriately. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
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