You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by germanescobar <ge...@hotmail.com> on 2011/06/25 11:35:38 UTC

Sending messages to ActiveMQ endpoint without routes

Hi,

I have noticed the following behavior: if you send a message to an ActiveMQ
endpoint before adding some routes, the message gets lost. The problem is
that the ActiveMQ broker starts and stops when sending the message. Later,
when the route is added, it starts another broker. Why is it stopping the
first broker after the message is sent? 

--
View this message in context: http://camel.465427.n5.nabble.com/Sending-messages-to-ActiveMQ-endpoint-without-routes-tp4523354p4523354.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sending messages to ActiveMQ endpoint without routes

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Sounds like you use some sort of embedded broker in the VM.
Use a dedicated broker and let Camel be a client to the broker.
And use persistent messages if you want to ensure messages dont get lost.


On Sat, Jun 25, 2011 at 11:35 AM, germanescobar
<ge...@hotmail.com> wrote:
> Hi,
>
> I have noticed the following behavior: if you send a message to an ActiveMQ
> endpoint before adding some routes, the message gets lost. The problem is
> that the ActiveMQ broker starts and stops when sending the message. Later,
> when the route is added, it starts another broker. Why is it stopping the
> first broker after the message is sent?
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Sending-messages-to-ActiveMQ-endpoint-without-routes-tp4523354p4523354.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/