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

Reply via email to