I have a standalone JMS application that subscribes to several different JMS topics. Each topic has its own session and onMessage () listener. Each onMessage () method updates the common table of current values - all onMessage () methods update the same table of current values.
I read that the onMessage method is actually being called in the JMS provider thread. So my question is: if all of these onMessage () methods are called in a separate thread than in my application, is that not a concurrency problem, since all these threads update the common CVT? Sounds like I need to sync CVT access somehow?
source
share