|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS process exit with no exception |
« View previous topic :: View next topic » |
Author |
Message
|
weihong |
Posted: Mon Oct 27, 2003 5:11 pm Post subject: JMS process exit with no exception |
|
|
Newbie
Joined: 08 Apr 2002 Posts: 8
|
Hi Everyone,
I have a JMS program sending messages to queues and receiving messages to write to a files. Right now I just put them running in two JVMs. The sending program works ok, but the receving program is not.
After I started the receiving program, it process a few messages and stopped, although there are still other messages in the queue. Nothing is wrong with the messages, because if I start the program, it will process some messages and stops again. I got no exceptions. I am using Bind mode.
I did the regular procedure, creating connection, session, queue receiver and set queue listener.
Does anyone have an idea what cause the program to finish?
Thanks in advance.
weihong  |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Oct 28, 2003 10:38 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Without seeing the code, I would guess that one of the receives timed-out and your program ended. When you went to look at the queue, you saw messages because your put program had put some more. |
|
Back to top |
|
 |
weihong |
Posted: Tue Oct 28, 2003 5:22 pm Post subject: |
|
|
Newbie
Joined: 08 Apr 2002 Posts: 8
|
Thanks for the reply.
The put and receive process are using different queues. Do you know where to set the session timeout?
Thanks. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|