Topics

A Topic is a component that acts as a mediator for messages and defines the message content. Think of it as a mix of the subject line for notifications and a trigger for them to occur.

Like Publications, a Topic is created in the FME Server web interface, on the Notifications page:

FME automatically creates some topics on installation, to trigger the subscriptions that it creates.


Publications and Topics

All Publications are linked to a Topic so that when a Publication receives an incoming message, it is categorized and the related Topic is triggered.

A Publication can be linked to multiple Topics, so each incoming message can trigger multiple actions to occur. Additionally, multiple Publications can trigger the same topic.

For example, a lightning strike sensor might publish to the topics WeatherEvent and AircraftAlerts, whereas a flood sensor might publish to the topics WeatherEvent and RoadConditions.


Daily Interop Reporter, Chad Pugh-Litzer says…
When I write a news article I publish the article to the Daily Interop web site, tagged with a number of topics to describe it. For example, a report about a soccer team’s tax return would be filed under both ‘Financial’ and ‘Sports’ because it relates to both.

Subscriptions and Topics

All Subscriptions are also linked to a Topic. When a topic is triggered an outgoing message is sent through the Subscription to the receiving client.

A subscription can be linked to multiple Topics, each topic being triggered causes an outgoing notification. Each Topic can also be subscribed to by multiple Subscriptions.

For example, a police headquarters might subscribe to the RoadConditions topic, to receive notifications on that subject. The local TV weather channel also subscribes to the RoadConditions topics, but in addition, subscribes to WeatherEvent to hear about those particular events.


InteropGeek68 says…
I subscribe to articles published on the Daily Interop web site according to their topic. For example, I subscribe to reports with the topic financial, whereas my friend – InteropJock72 – subscribes to sports articles. Because Chad's article has both tags, we'd both receive it.

Miss Vector says...
Please don't get this wrong! Publications and Topics have what relationship?

1. One:One (Each Publication has one Topic, each Topic belongs to one Publication)
2. One:Many (Each Publication can have many Topics, each Topic belongs to one Publication)
3. Many:One (Each Publication has one Topic, each Topic can belong to multiple Publications)
4. Many:Many (Each Publication can have many Topics, each Topic can belong to multiple Publications)

results matching ""

    No results matching ""