Good day,
I would realy appreciate your help, because I was unable to find the answer
searching on the web.
I'm facing the problem using an embedded AMQ Broker.
The version of the broker is 5.7.0
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.7.0</version>
</dependency>
I'm using the Request-Reply pattern, so at some point I expect the response
during the specific timeout. And the communication may work few days, but
sometimes the consumer, that expects the response can't consume the message
from a response queue, however, the response message is sent. But can't be
consumed by the consumer.
When I use the standalone AMQ of the same version, then there is no such a
problem.
Here is the configuration of an embedded broker: activemq.xml
<http://activemq.2283324.n4.nabble.com/file/n4671434/activemq.xml>
The only workaround, that I have right now to start it working is the remove
of the kahadb folder, but is not a good solution for a production
environment at all.
What can be the reason of such a behaviour and what is a workaround?
Maybe someone has already coped with the same problem or the similar one?
Thanks in advance for your help.
PS: I've tried to write a junit test and run it - can't reproduce. 1000000
request-reply and no problem at all, but it happens, when that embedded
broker is used on the real environments.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Camel-and-Embedded-AMQ-Problem-consuming-from-a-queue-tp4671434.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.