How can I create more than one "listener

How can I create more than one "listener

book

Article ID: KB0082119

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

How can I create more than one "listeners" on a program? In addition, all of them will be added to the "QueueList", in order to receive any of message sent by the clients.

Resolution:
You can just use the deafult queue (TIBRV_DEFAULT_QUEUE) for all the listener event creation calls for different subject names so that all the subject events will get placed on the default queue. After that, waiting on the tibrvQueue_Dispatch(TIBRV_DEFAULT_QUEUE) call and that will dispatch all the events from the default queue.

Issue/Introduction

How can I create more than one "listeners" on a program? In addition, all of them will be added to the "QueueList", in order to receive any of message sent by the clients.

Environment

All