Re: queue stops working after a short time

Tim Anderson <[email protected]> Thu, 03 Apr 2008 12:38:15 +1100
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
If you can generate a reproducible test case, I can look at it.

Christiaan Willemsen wrote:
> 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
>
>   


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace