camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
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

On Tue, Jan 14, 2014 at 12:44 AM, hooty223 <> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:
Make your Camel applications look hawt, try:

View raw message