The problem is misconfiguration of ActiveMQComponent

I forget
<property name="transacted" value="true"/>

Cheers

--Filippo

Il 17 gennaio 2012 07:59, Filippo Balicchia <[email protected]> ha scritto:
> Hello i have configuration my route to have a Transaction receiver
>
> here the route
>
> from("jms:myqueue").transacted("PROPAGATION_REQUIRED").id("DestRoute").throwException(new
> Exception("persistence error"))
>
> With this configuration I'm wainting that the message would still be
> on th queue but it isn't.
>
> I check activemq console i see that
> Number Of Pending Messages 0
> Messages Dequeued  1
>
>
> I made some mistakes concept or configuration?

Reply via email to