What are the core JMS-related objects required for each JMS-enabled application?



What are the core JMS-related objects required for each JMS-enabled application?..

Answer / munnu

Each JMS-enabled client must establish the following:

* A connection object provided by the JMS server (the message broker)

* Within a connection, one or more sessions, which provide a context for message sending and receiving

* Within a session, either a queue or topic object representing the destination (the message staging area) within the message broker

* Within a session, the appropriate sender or publisher or receiver or subscriber object (depending on whether the client is a message producer or consumer and uses a point-to-point or publish/subscribe strategy, respectively). Within a session, a message object (to send or to receive)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JMS Interview Questions

Is kafka a jms?

0 Answers  


What is a topic string?

0 Answers  


Where is jms used?

0 Answers  


Explain about message selector?

0 Answers  


What is jms producer?

0 Answers  






How to handle the exception caused by jms?

0 Answers  


Why do we need jms?

0 Answers  


What is message listener?

0 Answers  


What is the difference between java mail and jms queue?

0 Answers  


What is the jms client?

0 Answers  


What type of messaging is provided by JMS?

0 Answers  


What is mdb in jms?

0 Answers  


Categories