How to subscribe TIBCO Cloud Messaging(TCM) messages sent from TIBCO Flogo with TIBCO StreamBase TIBCO eFTL Subscribe Input Adapter

How to subscribe TIBCO Cloud Messaging(TCM) messages sent from TIBCO Flogo with TIBCO StreamBase TIBCO eFTL Subscribe Input Adapter

book

Article ID: KB0079641

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7.7.5
TIBCO Flogo Enterprise -

Description

There are messages sent from TIBCO Flogo to TIBCO Cloud Message(TCM) with a specific Destination.
Other than providing URL, authentication to TIBCO StreamBase TIBCO eFTL Subscribe Input Adapter, how do I specify subscribe messages only from the specific destination?

Issue/Introduction

How to subscribe TCM messages sent from Flogo with a specific Destination with TIBCO StreamBase TIBCO eFTL Subscribe Input Adapter

Environment

All supported environment

Resolution

TIBCO FTL messages do not carry explicit destination information.
The Flogo publisher set value specified for Destination to eFTL message field "_dest".
For example, on Flogo GUI, the Destination is configured with value "FlogoDestination".
In StreamBase, to subscribe messages sent from Flogo with Destination "FlogoDestination", define your StreamBase eFTL Subscribe Input Adapter with Matcher:
{"_dest":"FlogoDestination"}

This would filter out messages published with "FlogoDestination" destination by Flogo.