camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" <>
Subject Re: Exception handling, for InOut exchanges?
Date Wed, 26 Nov 2008 10:45:26 GMT

I have added a sample how to send a response back to the client
Section: Handling and sending a fixed response back to the client

/Claus Ibsen
Apache Camel Committer

On Tue, Nov 25, 2008 at 9:34 AM, Trevv <> wrote:
> Claus Ibsen-2 wrote:
>> BTW: As I am interesting in improving the documentation could you
>> maybe help me out here. On which page/section on the wiki would you
>> expect a sample for in out style?
> Possibly .
> The problem was that all the exception handling examples, on that page
> and on other pages, end with '.to("some endpoint")' to specify where
> the failure responses will go; I didn't know what endpoint I could put
> inside the '.to("")' in order to get the failure responses to go back
> to the same consumer that originally created the exchange.
> It took a few days to realize that I could omit the ".to()" and replace
> it with a ".handled()" and a ".transform()" to get the right behavior.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message