What are the basic building blocks of a JMS application?
Answered
What are the basic building blocks of a JMS application?
Best answer
The basic building blocks of a JMS application are:
- Administered Objects – Objects that are managed administratively rather than programmatically. The two administered objects are connection factories and destinations.
- Connections – Connection object represents a connection with the JMS provider.
- Sessions – Session object is used to send and receive messages.
- Message Producers – Producer is an object that is created by session to send a message to the destination.
- Message Consumers – Consumer is an object that is created by session for reading/consuming the messages from the destination.
- Messages – Message is an object that is used for communication between producers and consumers.