My int-http:outbound-gateway calls out to a server that may return an error message with a HTTP 500 status code.
If that's the case I want to do a small amount of error handling only, I don't want the message to go onto the reply-channel.
I set the error-handler and it detects and processes this scenario, but for some reason the message still gets placed on the reply-channel.
So, I'm wondering if there's a reason why there isn't support for a error-channel, or if there's some way of stopping certain (e.g. 500) messages going to the reply-channel?