November 2018
Intermediate to advanced
388 pages
9h 5m
English
As discussed, Java messaging service has defined the following two modes of operation for exchanging messages:
In the point-to-point messaging model, a sender sends the message over a messaging service provider and a consumer consumes the message. In this model, we use a queue as a messaging service provider. In the publish-subscribe model, a publisher publishes the message and the subscribers will receive the messages. In this model, we use a topic as a messaging service provider.
In this section, we will demonstrate these two models and discuss some of the messaging types that can be used in these programming models.
Read now
Unlock full access