What is Publish/Subscribe Messaging in JMS ?

Answer Posted / maanya shree

Pub/sub messaging has the following characteristics :

a) Each message can have multiple consumers.

b)Publishers and subscribers have a timing dependency. A client that subscribes to a topic can consume only messages published after the client has created a subscription, and the subscriber must continue to be active in order for it to consume messages.

What Point-to-Point Messaging in JMS ? view answer

a) Each message has only one consumer.

b) A sender and a receiver of a message have no timing dependencies. The receiver can fetch the message whether or not it was running when the client sent the message.

c)The receiver acknowledges the successful processing of a message.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of communication provided by jms?

460


Can jms be used to send an email?

459


How does a sender application transport/send a message through jms?

478


What is jms in spring?

479


What is spring jms?

455






How kafka is different from jms?

464


In which situations we are using jms?

496


Can two different jms services talk to each other? For instance, if a and b are two different jms providers, can provider a send messages directly to provider b? If not, then can a subscriber to provider a act as a publisher to provider b?

490


How the jms is different from rpc?

475


Which messaging is generally used in cases where a message is published by a producer and consumed by multiple subscribers?

434


How to check jms messages in weblogic?

472


What is use of jms?

470


Name the components of jms.

521


How jndi is related to jms?

556


What is jms server?

491