Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


what is topic and what is queue ?

Answers were Sorted based on User's Feedback



what is topic and what is queue ?..

Answer / skr285

sorry when i was gone through JMS
i found one to one is Queue(i.e, poin to point)
topic is sender and publisher(i.e, one to many)

Is This Answer Correct ?    11 Yes 1 No

what is topic and what is queue ?..

Answer / sachin

JMS Topic is a JMS managed object used to manage message
comminucation between publisher ( sender of message) and
subscriber ( receiver of message).

Queue is JMS managed object used for holding messages
waiting for subscribers to consume. When all subscribers
consumed the message , message will be removed from queue.

To put an anology with email system consider all emails
with subject 'Offers from Tesco Stores'. This subject is
called topic. If there are multiple messages of same
subject headings, it will be called as queue, waiting to be
read.

Is This Answer Correct ?    7 Yes 5 No

what is topic and what is queue ?..

Answer / neeraj

Queue is point to point mechanism ( means once message is
picked up from queue no one else can pick up message )
while topic is pub sub mechanism ( means one Publisher and
different subscriber)

Is This Answer Correct ?    3 Yes 2 No

what is topic and what is queue ?..

Answer / yogi_spysr

Topic>>> is a object which is used to get the producer on a
destination,, and we publish a msg and send it to that
destination,,,
so if we have many listeners to our msg then the msg will
be recieved by all recievers
:::: means it is a Kind of Publisher-Subscriber relation
one publisher and many subscriber


on the right hand we have
Queue >>>
is a object which link us to a queue
since in a queue of msgs and a msg will remain in queue
until it is recieved by the particular reciever who is
supposed to get it

its something like

MESSAGE --->> |Message Queue|--->> Destination

if msg is retrived then it is deleted

simply
when ::::Queue think of Mobile SMS service
topic think of Airtel SetUP Box

Is This Answer Correct ?    0 Yes 0 No

what is topic and what is queue ?..

Answer / sailaja

1.After reciving message from JMS, byusing Queue connection
factory can send it to exact mdb, i,e point to point.

2.After reciving message from JMS, byusing Topic connection
factory can send it to one r multiple mdb's, i,e Publish to
Subcribe.

Is This Answer Correct ?    0 Yes 3 No

what is topic and what is queue ?..

Answer / manavver

topic means one to many relation ship and queue in the sence
one to one relation ship

Is This Answer Correct ?    7 Yes 12 No

what is topic and what is queue ?..

Answer / guest

gfh

Is This Answer Correct ?    2 Yes 19 No

Post New Answer



More JMS Interview Questions

1)what is global forwards in struts? 2) whait si struts navigation flow?

6 Answers  


what is distributed queues and topics and how they works

1 Answers  


Is ibm mq jms compliant?

0 Answers  


How does the Application server handle the JMS Connection?

1 Answers  


What is difference between JMS and Web Services?

0 Answers  






What is jms jndi?

0 Answers  


Give an example of using point to point model in JMS?

0 Answers  


How to send xml message to jms queue using java?

0 Answers  


How do I configure jdbc so that the jms jdbc store recovers automatically?

0 Answers  


How you can deliver a java message to a non-java client?

0 Answers  


What are Native Clients ?

1 Answers  


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

0 Answers  






Categories