Add overloaded sendAndReceive methods to JmsTemplate to use explicit response queue#36162
Add overloaded sendAndReceive methods to JmsTemplate to use explicit response queue#36162jhoeller merged 1 commit intospring-projects:mainfrom
Conversation
…e to use explicit response queue Signed-off-by: Michał Pisarski <pisekfm@o2.pl>
|
Good idea, and implemented in a straightforward fashion! Thanks for the PR - rolled into 7.0.4 now. |
|
@jhoeller rabbitmq/rabbitmq-jms-client#698 bumps Spring to 7.0.4 and has a RPC test failing. I suspect this change to be the culprit. I see the reply consumer is now created after the message is sent, so the RPC server may send a reply before the temporary queue is created. The requester does not get any response then. Do you think this analysis is correct? I reproduced the failure locally, but it is transient, which makes sense as there is a race condition. |
|
The temporary In any case, I'll revise this to differentiate between the |
No description provided.