It seems that the XML is not valid if the <from> tag is not immediately after
the <route> tag. So I'm not allowed to move the <onException> tags to the
top. I'll create a Jira issue as you suggested.



Claus Ibsen-2 wrote:
> 
> Hi
> 
> No it's not supposed to work like that.
> Could you move the onException before the from clause?
> 
> So its like this
>>                <route>
>>                        <onException>
> ...
>>                        <from ref="myMainQueue" />
> 
> And try it. It could be a difference if the onException is defined
> outside the from.
> 
> I think I need to take a look to see what happens when you have the
> choice .. otherwise. There could be a flaw there.
> 
> Could you create a ticket in JIRA with this issue?
> http://activemq.apache.org/camel/support.html
> there is a link from the support page
> 

-- 
View this message in context: 
http://www.nabble.com/Will-onException-handle-exceptions-thrown-from-%27when%27-clause--tp21033017s22882p21033324.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to