MessageSubscriber Trigger

The Message Subscriber trigger listens for a published message from the TIBCO Cloud Messaging service.

Settings

The Settings tab has the following fields.

Field Description
Connection Name of the TIBCO Cloud Messaging connection that you want to use.
Durable Subscriber By default, this field is set to False. Setting this field to True, will change your subscriber to a durable subscriber. As a durable subscriber, if your app goes down, any incoming messages during the period when your app was down will be preserved and delivered once your app comes back up again.
Note: A trigger marked as a durable subscriber should have been running at least once in order for it to receive pending messages that were sent while the app was down.

When you set this field to True, you see the Durable Name and Durable Type fields.

Enter a Durable Name for the subscription. This is a required field.

Currently, only Shared durable subscriber type is supported. As a Shared Durable Subscriber, if you have multiple instances of an app, the messages received will be distributed among the app instances in a round-robin manner.

Destination Name of the message destination. If you leave this blank it will receive all messages, otherwise only the messages with the specific destination set.
Content Matcher Specify the attributes to match in the incoming message by clicking on Add row. For each attribute specify its name, type, and value.
Important: You cannot have two subscribers with the same durable name but different destinations running concurrently. You must stop the subscriber that was already running before your start the second subscriber. This is also true for blue-green deployments supported by PaaS platforms, such as TIBCO Cloud Integration. So, do not update the destination name in blue-green deployments.

Output Settings

The fields that you select in this tab will be available in the output schema in the Output tab.

Field Description
Message Schema An example JSON object that you want to receive from TIBCO Cloud Messaging service.

Output

This tab displays the schema specified in the Output Settings tab in a tree structure format. The output of an activity is displayed for informational purposes only and cannot be modified or altered.

The properties that are displayed in the Output tab schema correspond to the output of this activity and can be used as input by subsequent activities in the flow.

Related reference