In a queue-to-topic bridge, are messages bridged to the topic even when there are no subscribers connected?

In a queue-to-topic bridge, are messages bridged to the topic even when there are no subscribers connected?

book

Article ID: KB0084408

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Description:
==========  
In a queue-topic bridge such that Q1 is bridged to T1, a copy of each message published to Q1 will always be forwarded to T1, regardless if there are subscribers or offline durables on the topic T1.

In the case of no subscribers/durables on T1, the message will be discarded from the topic.

This behaviour can easily be observed by enabling message tracing on the queue and topic in question, with the following tibemsadmin commands:
- set server log_trace=+MSG
- addprop queue Q1 trace
- addprop topic T1 trace

And verifying the pending message on each after publishing a message to the queue
- show queue Q1
- show topic T1

The ‘show topic’ output will confirm no pending messages on the topic, but with the ‘Total Inbound Msg’ count incremented for every message published to the queue (bridged to the topic) and ‘Total Outbound Msgs’ count remaining at zero.

Environment:
==========  
All

Issue/Introduction

In a queue-to-topic bridge, are messages bridged to the topic even when there are no subscribers connected?