|In this TIBCO EMS tutorial we will understand queues and topics in detail.
Queue uses point to point messaging pattern. Point-to-point messaging has one producer and one consumer per message. Message producer/sender sends a message to the EMS queue and the message consumer retrieves messages from the queue and sends acknowledgement that the message was received.
Delivery Mode:(Persistent, Non–Persistent and EMS Reliable Delivery)
Tibco EMS Reliable Delivery: No acknowledgement is send back from the queue to the message provider on receiving of the message.
Non-Persistent: Messages are stored in memory. In case of server or queue crash messages cannot be restored when server is up.
Topic uses publisher and subscriber based model in which 1 sender sends the message to multiple receivers. For each subscriber listening to a topic a copy of the message is created (EX: if there are 10 subscriber are on a topic; 10 copy of a message is created each for a subscriber).
Durables Subscriber: Messages are stored on the disk, thus messages can be received at later point of time when the durable subscriber is available.
Non-Durables: If the subscriber is not listening to the topic the message is deleted.
Creating Queue or Topic
Show list of Queues or Topics
Show a Queue or Topic
Purge Queues or Topics
Delete Queues or Topics