Results 1 to 2 of 2

Thread: JMS:outbound-gateway reply-destination behaviour

  1. #1
    Join Date
    Jul 2010
    Posts
    2

    Question 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. #2
    Join Date
    May 2008
    Posts
    8

    Default

    Hi, Did you figure out what the issue was ?

    Thanks,
    Dwipin.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •