camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: how to handle exceptions thrown by <camel:choice>
Date Mon, 01 Nov 2010 23:28:51 GMT
The easiest solution could be to catch your exception and return false (I
assume you throw an exception if the address string is not "well formed" for
you and in fact invalid).

However, where is your 'onException' definition? May be this link is helpful
for you: http://camel.apache.org/exception-clause.html (look for "Using
handeld with Spring DSL")

Christian

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