Messaging allows frequent immediate reliable and asynchronous message transfer between applications with custom message formats.
Purpose:
Hybrid models are also possible.
Java Message Service (JMS) – is a message oriented middleware API that provides features and messaging concepts in order for software components to create, send, receive and read messages.
| ByteMessage | TextMessage | StreamMessage | MapMessage | ObjectMessage |
Message
Consider changes in JMS 2.0 (May 2013).
| Feature | AMQP 0.9.1 | AMQP 1.0 |
|---|---|---|
| Uses Exchanges | Yes | No |
| Easy to apply to existing brokers | Not always | Yes |
| Defines sources and targets | Yes | No, uses abstract adresses instead. |
| Specifications for message broker | Yes | No |