Re: route definition: component response routing

by cmoulliard :: Rate this Message:

Reply to Author | View in Thread

Hi Vlad,

If the destination endpoint is not defined, an error will be generated when your message will be send. Different strategies exist to avoid to lost your message in this situation :

- Implement a DeadLetterchannel,
- Define your "from" endpoint as a transactional endpoint to provide a rollback

Regards,

Charles

volenin wrote:
Does anyone have any suggestion re: this question?...


On Sun, Jun 29, 2008 at 5:47 PM, Vlad Olenin <volenin@gmail.com> wrote:

> Hi,
>
> I was browsing through the documentation recently trying to find the answer
> for the following question. If the outbound route from one of the endpoints
> is not defined, does it mean that the response that component is creating
> would be propagated back through the request chain? Or it would just
> terminate on that endpoint? In other words, does Camel behavior in this case
> resembles that of Mule or not? (From what I read, in Mule if the outbound
> route is not defined, the message would 'bounce back' along the invocation
> chain towards the original caller).
>
> Thanks,
>
> Vlad
>
Charles Moulliard
SOA Architect

My Blog : http://cmoulliard.blogspot.com/ 
Need professional support or training for Apache Camel? Graphic Design by Hiram and the Nabble Forum configured by James