Reputation: 1617
I have only one instance of WSO2 micro integrator running in which I have a JDBC Message Store and a Scheduled Message Forwarding Processor listening to new messages in the message store.
Now when I increase the task count (member count) of the message processor to 2 or more. A message stored in the message processor is processed by all of the tasks. How do I avoid this. I want only one of the message processor tasks to pick up my message.
Upvotes: 0
Views: 189
Reputation: 26
Have just the same problem in EI 6.5.0. Looking through the source code of the JDBC Message Store shows that there are no measures preventing simultaneous reading and deleting the same records in the message store table by several message processor tasks.
Upvotes: 1