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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ems queue?

473


What is jms in java?

440


What is a messaging service?

486


What is the use of EventMessage.java?

1101


Is jmstemplate thread safe?

526






What is administered objects in jms?

536


Can we use jms for sending automated e-mails?

520


Explain about JMS queue?

531


Detail about the features of publish model?

534


Can we have more than one consumer for a jms queue?

432


What is MOM in reference to JMS?

538


How does jms listener work?

481


How to Allowe messages to expire ?

938


How kafka is different from jms?

460


What is jms protocol?

458