JMS and Message-Driven Bean
What is JMS?
JMS lets you send messages from one JMS client to another through a messaging service, sometimes called a message broker or router. A message is a type object in JMS, which has two parts: a header and a message body. The header is composed of routing information and metadata about the message. The message body carries the application data or payload.
Message Types:
TextMessage
)
ObjectMessage
)
MapMessage
),
byte streams (BytesMessage
)
StreamMessage
)
Message
).
กก