Hello,

We are using last ActiveMQ 5.1-20080116.045235-1 SNAPSHOT.
We are encountering some problems with a very simple JMS use case, that you
will find in attached files.
We have 1 Server ("ServerFake" class) and 1 client ("AdmFake" class).

The Server waits for messages on a queue ("adm_in").
When one message is received, it responds by putting a message in the
"adm_resp" queue.
The client sends a message in the "adm_in" queue and waits for a response
message in the "adm_resp" queue and terminates.

In our usecase, we first launch the Server. And we start a first client: all
messages are correctly put and read.
But when we launch the client a second time (after the first has stopped),
the Server correctly reads the message in the "adm_in" queue and puts a
response in the "adm_resp" queue, but the client never reads it in
"adm_resp" queue. We can see with JMX console that a message is present in
the "adm_resp" queue and that a JMS consumer (our client class) is listening
on this queue, but nothing happens...
Sometimes this problem occurs only on the third launch of the client.

You will also find the ActiveMQ configuration in attached file.
Do you see where the problem comes from?

Thanks

http://www.nabble.com/file/p14877654/activemq.xml activemq.xml 
http://www.nabble.com/file/p14877654/AdmFake.java AdmFake.java 
http://www.nabble.com/file/p14877654/ServerFake.java ServerFake.java 
-- 
View this message in context: 
http://www.nabble.com/Message-blocked-in-a-Queue-tp14877654s2354p14877654.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to