camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris.o...@mediadriver.com
Subject Re: Stop JMS message reception on exception
Date Fri, 09 Nov 2012 13:56:29 GMT
Programmaticly you could use the CamelContext object to access all 
Components with in that context. At that level you should be able to 
accomplish what you are looking to do.

http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/CamelContext.html

Chris O.


On 2012-11-09 07:51, De Backer Frederik (Belfius) wrote:
> Hello,
>
> I am receiving JMS message in an MDB that is deployed inside a WAS
> 8.0 application server. In order to prevent out of order processing 
> of
> messages, we stop the message listener when an exception occurs (this
> is standard feature of WAS message listener). So my question is: how
> can I implement this behaviour in Camel ? I guess I need a way to
> shutdown the route somehow.
>
> Kr,
>
> Frederik De Backer
>
>
>
>
> 
> -----------------------------------------------------------------------------
>
> http://www.belfius.be/maildisclaimer.htm
>
> 
> -----------------------------------------------------------------------------

Mime
View raw message