Jun 26th, 2012, 03:26 AM
Parallel Processing using Channel
Our application has been designed using Spring Integration Framework. Complete message action flow starts with listening to Queue's for which JMS message driven adapters has been used after which channel based i.e. Queue endpoints has been defined and each endpoint is process by Service-Activators.
We are currently into performance phase, we are spawning 200 message request. Initially we observed that messages were not executing parallely, after doing some reading figured out that by adding concurrent-consumer and max-concurrent-consumer property to JMS message driven listener adapter will help to enable multi threading mode. Indeed this helped but still when the request is processed through the endpoints I still observe Single Thread effect. Is this due to way the endpoint has been defined? What is the advantage of adding Queue capacity to each endpoint? Do you think by adding queue-capacity to each Channel endpoint definition will again help to run in mutli threading mode.
Kindly find design snapshot attached