Hi Next time you should use the user mailing list for your questions about Camel http://camel.apache.org/mailing-lists.html
The status code is on the org.apache.camel.component.http.HttpOperationFailedException You can get it like this: HttpOperationFailedException e = exchange.getProperty(Exchange.EXCEPTION_CAUGHT, HttpOperationFailedException.class); int code = e.getStatusCode(); On Mon, May 13, 2013 at 7:46 AM, mbhaya <mohit.02...@gmail.com> wrote: > I have seen the link..but wanted to ask is there any way in Camel to access > Http status code in case I am getting an exception.. > Pleas help..!! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Not-able-to-get-Http-Response-message-code-in-case-of-wrong-URI-tp5732345p5732386.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen