简体   繁体   中英

WSO2 - Message processed by all tasks of message processor

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM