Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As you’ve seen, JMS gives Java developers a standard API for interacting with message brokers and for sending and receiving messages. Furthermore, virtually every message broker implementation out there supports JMS. So there’s no reason to learn a proprietary messaging API for every message broker you deal with.
But though JMS offers a universal interface to all message brokers, its convenience comes at a cost. Sending and receiving messages with JMS isn’t a simple matter of licking a stamp and placing it on an envelope. As you’ll see, JMS demands that you also (figuratively) fuel up the mail carrier’s truck.