In my setup I have a cxf endpoint that are consumed by a route. As the first
step in my route I have a bean that picks up the TLSSession from the
exchange and puts back a property on the exchange that contains the peer
certificates. I doing this in order to access information from the client
certificates further down the route. In the case that no client certificate
has been provided (access was via http and not https or the http server
configuration may not have required the certificates to be provided by the
client) I would like to force the exchange to "return" ( no further
processing along the route) and provide some appropriate return code.

What specific operations do I have to do on the exchange (or its in/out
messages) to make Camel "terminate" the route with the appropriate (HTTP)
return code.

/Lars

--
View this message in context: 
http://camel.465427.n5.nabble.com/Forced-termination-of-the-current-exchange-and-returning-appropriate-response-code-tp5716235.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to