camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nexus>
Subject Re: ActiveMQ shuts down before Camel routes when stopping service in Windows
Date Thu, 15 Jun 2017 13:15:03 GMT
Hello, Zoran

Thank you for the response!

I'm continuing my investigation. Seems, that shutdown of ActiveMQ + Camel
never worked perfectly :)
 at least starting from activemq v5.8.0 with camel v2.10.3...
or, probably, the example configuration shipped with release and managed in
public access does not bring desired effect

I have downloaded and tested following activemq releases:
activemq v5.8.0 (camel v2.10.3)
activemq v5.9.0 (camel v2.12.1)
activemq v5.10.0 (camel v2.13.1)
activemq v5.14.5 (camel v2.16.3)
activemq v5.14.5 (camel v2.20.0-SNAPSHOT)
/commit fef52d7eaabe205496319f9b459da5258d8678bb/
with tiny yet sufficient configuration based on  recommendations
from Claus Ibsen:

activemq.xml <>  

In fact, the last part of config. with props. placeholder and jetty can be
excluded, but I've used activemq web console to produce messages.

Also, I've raised error level for *org.apache.camel* logger in
** to dump more details.

Testing procedure:
start activemq service and wait until camel routes are up and running
produce message via activemq web console
verify that camel redirected message to other queue
stop activemq service
The result is always the same, activemq shuts down before camel.
You may find details in attached log files:
(Camel 2.20.0-SNAPSHOT)

Additionally, I've tried to simulate clean shutdown sequence by stopping
camel routes manually from jconsole after producing message and before
stopping activemq service.
No errors in log:  activemq-5-14-5-jconsole.log

View this message in context:
Sent from the Camel - Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message