camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: throwFault DSL doesn't actually throw?
Date Fri, 06 Feb 2009 02:16:02 GMT
Hi,

Can you give me the whole picture of your DSL?
maybe you should use end() to close the block.

Willem

Trevv wrote:
> I added a .throwFault at the end of a .choice, as suggested near the end of
> the  http://camel.apache.org/message-router.html Message Router  wiki page. 
> But I found that .throwFault doesn't actually throw anything.  Is there a
> different DSL command, for throwing an exception?  Is .throwFault documented
> somewhere, aside from the brief mention at the end of the Message Router
> page?


Mime
View raw message