-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Gary Russell opened SPR-15591 and commented
Currently, doReceive() uses the provisioned receiveTimeout field - we have a requirement to provide a runtime timeout in some sendAndReceive use cases.
I would like to get this into 5.0 (RC2 or 3) if possible (I will submit a PR if there is agreement).
There are currently many convertSendAndReceive overloaded public methods. I am not sure it's necessary to double all of those to include the new parameter; I think it would be sufficient for subclasses to provide any specialized methods as needed (that would solve our use case, since we need to calculate the timeout using a SpEL expression anyway and it's likely we will need a custom evaluation context for each request anyway).
However, I can add a full set of overloads if you would prefer that.
Juergen Hoeller rstoyanchev please let me know your thoughts; thanks..
Affects: 5.0 RC1
Issue Links:
- INT-4033 Consider Adding Expressions for Gateway Properties ("is depended on by")