Today I was working with a customer on demonstrating integration of a JMS Topic into their ESB. For years now I have spent all my JMS Integration work specifically using JMS Queues. For this integration, however, the customer was utilizing a topic. Based on my research the following rule of thumb appears to delineate when one is used over the other:
- Topics are utilized when the information is time senstive (i.e. stock quote).
- Topics are utilized to broadcast of information to a wide audience (or subscribers).
- Queues are utilized when performing transactions.
There may be several other reasons to use one over the other, but this applied to this specific customer and helped address its usage.
No comments:
Post a Comment