Christiaan Willemsen
2008-04-01 13:02:25 UTC
Hi there,
First post and quite new on JMS, so please be nice ;)
Let me explain first how the application works:
I have two application that talk to each other via JMS. One acting as a
server, one as a client.
- The client will ask the server for a session via a main JSM queue. In
the replyTo the client puts a reference to a temporary JMS queue. This
queue will be used by the session to send messages from server to client
- The server will send an acknowledge back to the temporary queue made
by the client, and will set the replyTo to a new temporary queue, that
the client thereafter uses to receives messages from the server.
- Client and server now communicate via the two temporary queues.
This appears to work fine at first, but after the first few messages
back and forth, it looks like messages from server to client never reach
the client. Messages from client to server however appear to work just fine.
The first few messages are of the question answer kind, anything after
that are mainly events from server to client. Apparently the first event
gets through, and after that nothing.
I have no clue what could be wrong here.. Sessions are set to
CLIENT_ACKNOWLEDGE and I use asynchronous message handling, and I
acknowledge all packets that come in on both sides.
Logs don't show any abnormal stuff, so I'm kind of lost right here...
Hope you can help me
First post and quite new on JMS, so please be nice ;)
Let me explain first how the application works:
I have two application that talk to each other via JMS. One acting as a
server, one as a client.
- The client will ask the server for a session via a main JSM queue. In
the replyTo the client puts a reference to a temporary JMS queue. This
queue will be used by the session to send messages from server to client
- The server will send an acknowledge back to the temporary queue made
by the client, and will set the replyTo to a new temporary queue, that
the client thereafter uses to receives messages from the server.
- Client and server now communicate via the two temporary queues.
This appears to work fine at first, but after the first few messages
back and forth, it looks like messages from server to client never reach
the client. Messages from client to server however appear to work just fine.
The first few messages are of the question answer kind, anything after
that are mainly events from server to client. Apparently the first event
gets through, and after that nothing.
I have no clue what could be wrong here.. Sessions are set to
CLIENT_ACKNOWLEDGE and I use asynchronous message handling, and I
acknowledge all packets that come in on both sides.
Logs don't show any abnormal stuff, so I'm kind of lost right here...
Hope you can help me
--
Christiaan Willemsen
Christiaan Willemsen