camel-users mailing list archives

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

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


Trevv wrote:
> I added a .throwFault at the end of a .choice, as suggested near the end of
> the 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?

View raw message