I have defined a jms queue backed channel as
<jms:channel id="s3Channel" queue-name="s3FileQueue" connection-factory="connectionFactory" message-driven="true" task-executor="s3Executor" concurrency="5-25"/>
<task:executor id="s3Executor" pool-size="10"/>
<si:service-activator id="s3TransferProcessingJobber"
input-channel="s3Channel"
output-channel="messageTerminusChannel"
ref="mybean"
method="execute"/>
I have message producer that is putting messages in the jms queue: there are over 50 messages in the queue
The problem is that only one message is being processed at one time instead of 5 messages being processed concurrently. I bring up the activemq web console and I can see 5 consumers attached to "s3FileQueue". But I can see only one message being processed.
What am I missing ?
Thanks for your help!


Reply With Quote
