ActiveMQ or, in general, all implementations oriented to Message Oriented Middleware (MOM) are intended for sending messages between two applications or two components within one application.
Essentially, MOM and databases have a common foundation in that they provide transactional and persistent data storage that can read and write. The big difference is the usage pattern β when the databases are very general and optimized for complex searches across multiple tables, MOMs are optimized for reading messages, one at a time in FIFO format.
JMS, which is the ActiveMQ API, is an important cornerstone in Java Enterprise applications. This makes messages common to a common format and semantics, which simplifies integration between different applications.
Of course, there are many more detailed functions that are only in ActiveMQ, wired protocols such as OpenWire, STOMP and MQTT, JMS, EIP along with Apache Camel, message templates such as "request / response" and "publish / subscribe" ", JMS Bridging, clustering ("network of brokers") that allows scaling and distribution, etc. You should read these topics a little if you are interested, because they are quite large.
Petter Nordlander Oct 09 '12 at 18:24 2012-10-09 18:24
source share