|
INTERVIEW QUESTIONS
J2EE
JMS
DETAILS
Question: What is the difference between queue and topic
Answer: A point-to-point (PTP) product or application is built around the concept of message queues, senders, and receivers. Each message is addressed to a specific queue, and receiving clients extract messages from the queue(s) established to hold their messages. Queues retain all messages sent to them until the messages are consumed or until the messages expire.
In a publish/subscribe (pub/sub) product or application, clients address messages to a topic. Publishers and subscribers are generally anonymous and may dynamically publish or subscribe to the content hierarchy. The system takes care of distributing the messages arriving from a topic's multiple publishers to its multiple subscribers. Topics retain messages only as long as it takes to distribute them to current subscribers.
|
|
|
Category |
JMS Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7198 users |
Added on |
7/14/2011 |
Views |
71223 |
Rate it! |
|
|
Question:
What is the difference between queue and topic
Answer:
A point-to-point (PTP) product or application is built around the concept of message queues, senders, and receivers. Each message is addressed to a specific queue, and receiving clients extract messages from the queue(s) established to hold their messages. Queues retain all messages sent to them until the messages are consumed or until the messages expire.
In a publish/subscribe (pub/sub) product or application, clients address messages to a topic. Publishers and subscribers are generally anonymous and may dynamically publish or subscribe to the content hierarchy. The system takes care of distributing the messages arriving from a topic's multiple publishers to its multiple subscribers. Topics retain messages only as long as it takes to distribute them to current subscribers. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Must i place all my class files in the WEB-INF folder and all JSP's outside?
|
View Answer
|
|
Can JMS utilities automatically re-establish a connection if one side of the communication link (i.e. an application that's sending/receiving messages) goes down and is restarted? Are there APIs to help detect that the other side broke a connection (went down)?
|
View Answer
|
|
How to create a durable subsriber ?
|
View Answer
|
|
what is the use of JMS?In which situations we are using JMS?Can we send message from one server to another
|
View Answer
|
|
What are the three components of a Message ?
|
View Answer
|
|
What kind of information found in the header of a Message ?
|
View Answer
|
|
What is the diffrence between JAVA Mail and JMS Queue
|
View Answer
|
|
What is JMS?
|
View Answer
|
|
What is the difference between queue and topic?
|
View Answer
|
|
What is the difference between Point to Point and Publish/Su
|
View Answer
|
|
What is Producer, Consumer?
|
View Answer
|
|
What is the difference between Message producer and Message consumer?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All JMS Interview Questions & Answers - Exam Mode /
Learning Mode
|