I am working in SOA 11g and I need to configure multiple threads through JMS Adapter. I have entered <property name="adapter.jms.receive.threads" type="xs:string" many="false">4</property> in the composite.xml of the consumer.
(4 being the number of threads I am using for testing. I would like to increase it to 10 later on).
However the problem I am facing is that the consumer is reading each of the message present in topic 4 times. For example, if I am sending 4 messages to the topic one after another through JMS producer, the consumer is generating 4 instances for each of these messages i.e. total 16 instances are getting generated when my objective is to get total 4 concurrent instances, one for each message. Please suggest.