You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set a JMSReplyTo on the incoming message, and then the reply worked. Strange..
So I started stepping through org.springframework.jms.config.MethodJmsListenerEndpoint.getDefaultResponseDestination() to make sure that I wasn't having some sort of proxy issue (i.e. #17118). On line 122 though, I could see the issue - the value of
return (String) destinations[0];
shows up as
[${foo.topic}]
In other words, it does not appear to be getting expanded. Sure enough, in my activemq queue list I see a queue named ${foo.topic}.
Should I expect this property to be getting expanded inside the @SendTo annotation?
John W opened SPR-12899 and commented
I have a case where a JMSListener needs to send back a message on the original queue/topic it was received.
Here is a really small version of what I am trying to do:
The replies were never showing up.
I set a JMSReplyTo on the incoming message, and then the reply worked. Strange..
So I started stepping through org.springframework.jms.config.MethodJmsListenerEndpoint.getDefaultResponseDestination() to make sure that I wasn't having some sort of proxy issue (i.e. #17118). On line 122 though, I could see the issue - the value of
shows up as
In other words, it does not appear to be getting expanded. Sure enough, in my activemq queue list I see a queue named ${foo.topic}.
Should I expect this property to be getting expanded inside the
@SendTo
annotation?Thanks
John
Affects: 4.1.4
Issue Links:
@SendTo
and@SendToUser
for STOMP endpointsReferenced from: commits f98a6c6
The text was updated successfully, but these errors were encountered: