I'm trying to get the jms-source adapter to work, but I'm banging my head against the keyboard here..
I have set it up like this :
<jms-source id="jms_source" channel="response" destination-name="sms.gateway.exit" connection-factory="connectionFactory"/>
My understanding is, that given that the connection factory works and a valid connection to the broker is established, then whenever there is a message on the sms.gateway.exit queue the jms-source adapter should read the message and convert it to a Spring Message and then send it to the "response" channel. Am I correct ?
If I then register a MessageEndpoint with the input channel "response", then the Handler in that endpoint should be called whenever there is a jms message on the queue ?
I have tried this, but it does not work. The handler does not get called.
Ant ideas ? The broker is a Sonic thing, and it returnes some sort of multi-part message. Could this be a problem ?