In RC1, I'm using the JMS inbound gateway to get messages from a JMS queue and place them onto a channel:
<jms:inbound-gateway request-channel="eebChannel" connection-factory="connectionFactory" destination="p1"/>
However, after receiving a message it blocks waiting for a reply, even though I don't have a reply-channel set. The desired behavior would be for it to receive the message from the JMS queue (p1) and place it onto the eebChannel and not wait for a reply.
Is this a configuration problem on my part or a bug?
I noticed in the JmsInboundGateway code, it does the following inside the message listener onMessage() method:
Message<?> replyMessage = JmsInboundGateway.this.sendAndReceiveMessage(objec t);
Shouldn't it do:
if there is no reply-channel specified?
In the M6 release, the JmsGateway apparently did either a 'send' or a 'sendAndReceive' depending on whether a reply was expected:
listener.setDefaultListenerMethod(this.expectReply ? "sendAndReceive" : "send");
But obviously I don't know the code well enough to say for sure...