Reputation: 5867
I am planning to build a response object when the message comes to errorChannel and put back into the main reply channel of the gateway.
So that my consumer can get always a response object whether it is success or failure.
Is it possible to do that.?
Upvotes: 1
Views: 206
Reputation: 174554
Yes, just return a response from the error flow and it will go to the caller.
Upvotes: 2