How to (auto-) delete a RabbitMQ queue?

2015-09-04 Thread stefanmeisner
Hi,
I have a test system based on Camel and launched by Jenkins. It runs a bunch
of tests and among other things verifies that the system under test writes
the correct log messages to a RabbitMQ exchange.
I have created a queue specific to this test system, because other systems
needs the log messages as well.

My problem is, that the queue created by the test system accumulates log
messages when no test is running. What I need is to create the queue when
the test execution starts and delete it at the end of the run. This does not
seems possible with the rabbitmq component?!

Does anyone have a solution to this, except deleting the queue outside
camel?

Cheers,
Stefan



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-auto-delete-a-RabbitMQ-queue-tp5771251.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Camel route stops consuming from RabbitMQ queue

2016-09-15 Thread stefanmeisner

Connection factory:








--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-route-stops-consuming-from-RabbitMQ-queue-tp5787591p5787594.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Camel route stops consuming from RabbitMQ queue

2016-09-15 Thread stefanmeisner
My platform is Karaf 4.0.4 and Camel 2.17.3 and RabbitMQ 3.6.2 

I have a queue with > 1 messages on it. When I start Karaf with my route
deployed in, it starts processing messages: Validation and WS call using
cxf, and response sent to a response exchange.

My problem is, that the route stops processing after a short while, having
processed between 30 and maybe 500 messages.
Messages are pretty small and are processed within a few hundreds
milliseconds.

When I look at the queue in RabbitMQ www console, the consumer has
disappeared when processing has stopped...
RabbitMQ is in a HA cluster setup, but in the process of investigating this
issue I started connecting directly to a node.
That didn't however change anything
I have tried fiddling with the connection options, that currently looks like
this:

rabbit.options=requestedHeartbeat=10=1=false=false=false=true=true=#rabbitMqConnectionFactory

Any help appreciated...I am really stucked here!

Regards,
Stefan




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-route-stops-consuming-from-RabbitMQ-queue-tp5787591.html
Sent from the Camel - Users mailing list archive at Nabble.com.