Hi,
I have the following in my spring-integration configuration:
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).HTML Code:<jms:outbound-gateway id="myGateway" request-destination="MyQueue" request-channel="MyRequestChannel" reply-channel="MyReplyChannel" reply-destination="MyReplyQueue"/>
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


Reply With Quote