Non-blocking vs. Async Processing - Is non-blocking behavior possible?
I have a case where I need to do a non-blocking call within a flow. I have EndpointA wired to ChannelC as its output-channel and EndpointB wired to ChannelC as its input-channel. I need the connection via ChannelC to make EndpointB behave like a non-blocking call. That is to say, once the payload is handed to EndpointB, I want EndpointA to be unblocked and return without waiting for EndpointB's return value or a Future associated with the call to EndpointB. I've tried various of the async processing methods but they all behave like blocking calls.
Can I do what amounts to a non-blocking call across a channel using Spring Integration? If so, how?