Preventing concurrent reading of emails through SwitchYard
Issue
- There is a
SwitchYard
application withemail
binding to read the emails which are marked asUnread
. This application is deployed inHA environment
where active-active setup is running.
Problem here is both instances are reading sameemail
. The requirement is only any of the instances should read email and other instance should ignore if it is already read by other instance. How to achieve this requirement throughSwitchYard
?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
- 6.2.1
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.