Temporary queues, Network of Brokers, Embedded VM
-------------------------------------------------
Key: AMQ-1568
URL: https://issues.apache.org/activemq/browse/AMQ-1568
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 4.1.0
Environment: Linux
Reporter: Eric
Context
A simple question/answer mechanism between a client process with an embedded
broker, and a server process with an embedded broker, on two different servers.
The two embedded brokers are linked with a "double" network broker (client
broker referenced on the server, server broker referenced on the client)
The server process
- listens on a fixed "JNDI defined" queue.
- sends an answer, on the JMSReplyTo queue defined by the received message.
The client process enter a loop (5 times)
- it generates 100 threads.
- Each thread
- creates a temporary queue.
- waits 5 seconds
- enter a loop (10 times)
- send a message on the fixed "JNDI defined" queue with a
setJMSReplyTo defined with the temporary queue
- wait for the answer on the temporary queue
- delete the temporary queue
During the test, some threads are blocked on their temporary queue, waiting for
the answer.
When I look the two embedded brokers with web site, I could find the temporary
queue created on each embedded broker, and message enqueued on the server side
and not sent to the client side.
The same test seems to be OK, when I use standalone ActiveMQ instances and tcp
transport connector to link client and server process to their own ActiveMQ
instance.
Eric
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.