If you have topic to queue bridge, when will the topic publisher knows if the messages were successfully delivered to the queue? In which circumstances an exception will be raised in the publisher code?

If you have topic to queue bridge, when will the topic publisher knows if the messages were successfully delivered to the queue? In which circumstances an exception will be raised in the publisher code?

book

Article ID: KB0089671

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Bridge destinations are processed before sending the response to the publisher. Therefore, with persistent delivery mode, if one has 10 outputs of a bridge, all 10 will be processed before the publisher is informed. This is true regardless of the bridge configuration, topic-topic, topic-queue, etc.

In terms of exception on the publisher side:

- If reliable delivery mode is used then there will be no exception because the EMS server never informs the publisher of the outcome.

- If the messages are non-persistent:
    - if authorization is disabled then there will be no exception because the EMS server never informs the publisher of the outcome
    - if authorization is enabled the publisher is informed of the outcome.
    
- If the messages are persistent the publisher is informed of the outcome.

Issue/Introduction

If you have topic to queue bridge, when will the topic publisher knows if the messages were successfully delivered to the queue? In which circumstances an exception will be raised in the publisher code?