Posted: Tue Oct 09, 2007 10:56 am Post subject: MQ Get fail
Novice
Joined: 28 Jun 2007 Posts: 13
I am trying to GET message from queue using JMS. the CCSID on queue i set it to 850. The messages are sitting in queue. It's not throwing any exception. I am not able to get messages. Please advise me .
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
What platform? What version of MQ? Client or binding connection?
CCSID should not make a difference. If the Get isn't throwing an exception, then the connect or open may be. Ensure all the MQ calls are in try-catch blocks.
As a long shot, check the queue manager logs. _________________ Honesty is the best policy.
Insanity is the best defence.
Posted: Tue Oct 09, 2007 2:01 pm Post subject: Re: MQ Get fail
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
skurka wrote:
I am trying to GET message from queue using JMS. the CCSID on queue i set it to 850. The messages are sitting in queue. It's not throwing any exception. I am not able to get messages. Please advise me .
Thanks
Did you start the connection? You cannot receive until the connection is started. When created the connection is not started by default. You can reuse a stopped connection but you cannot reuse a closed connection...
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