Announcement Announcement Module
Collapse
No announcement yet.
JMS:outbound-gateway reply-destination behaviour Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMS:outbound-gateway reply-destination behaviour

    Hi,

    I have the following in my spring-integration configuration:
    HTML Code:
    <jms:outbound-gateway id="myGateway"
    	        request-destination="MyQueue"
    	        request-channel="MyRequestChannel"
    		reply-channel="MyReplyChannel"
    		reply-destination="MyReplyQueue"/>
    I would expect that when I send a message through this gateway that it would also be a consumer of the MyReplyQueue queue and then would push all messages received from that queue onto the reply channel (MyReplyChannel).

    What I see now in the activeMQ console, that all reply messages are sitting on the MyReplyQueue, but that it does not have any consumers.

    Can somebody explain to me how I then can accomplish this behavior. Documentation is a bit vague on this.

    I guess if I would have an jms:inbound-channel-adapter listening on the queue that that would work, but then what is the point of having both reply-channel and reply-destination in the configuration?

    Thanks in advance!

    Kristof Taveirne

  • #2
    Hi, Did you figure out what the issue was ?

    Thanks,
    Dwipin.

    Comment

    Working...
    X