camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to retrieve the Exchange from onMessage of an MDB
Date Tue, 14 Jan 2014 07:47:51 GMT
MDB you mean from an EJB server? Can you explain a bit more?

There is API on CamelContext and whatnot to stop routes.

And there is some pointers in this FAQ
http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html


On Tue, Jan 14, 2014 at 12:44 AM, hooty223 <hooty223@gmail.com> wrote:
> I have an MDB that calls a function when an error occurs (program errors and
> not Runtime). When this occurs I would like to stop the route. How can I do
> this since the Exchange is not available on the onMessage(Message message)
> call.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-retrieve-the-Exchange-from-onMessage-of-an-MDB-tp5745913.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message