camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbhaya <>
Subject Not able to get Http Response message/code in case of wrong URI
Date Sat, 11 May 2013 19:46:07 GMT

I am new to camel and was exploring onException clause. I am using the
following way to handle exception.
<process ref="testProcessor"/>

Following is the route that I have defined:
<from uri="restlet:http://localshost:9090/user">
<enrich uri="http4://www.api/" strategyRef="testStrategy"/>

now in order to test exception i have specified a wrong URI above in the
enrich clause. when i run this exception is generated but I am not able to
get the http response message or response code in the processor that I have
specified in the exception clause.

Kindly suggest.

View this message in context:
Sent from the Camel Development mailing list archive at

View raw message