In our system, external clients put messages on JMS queues. The requirement is for our Spring Integration application to pick up messages from those queues and process them. My initial stab at this is using the following configuration:
<int:channel id="source_channel" />
<int-jms:inbound-channel-adapter
id="source"
channel="source_channel"
destination-name="jms-queue-name"
connection-factory="...">
<int:poller fixed-rate="1000" />
</int-jms:inbound-channel-adapter>
<int:service-activator input-channel="source_channel" ref="sourceMessageReciever"/>
I am expecting the service activator bean to process the message when a client puts it on the 'jms-queue-name' queue, but this is not happening. Is this the correct approach, or do I need to use a messageGateway to do this? Thanks,
Rose