Protocols
A protocol is a system of data exchange between FME Server and a client.
We already know that FME sends and receives notifications. Protocols are the method by which these notifications are sent and received. Each Publication and Subscription is defined using a particular communication protocol.
To trigger an incoming notification by email – for example – you would create an FME Publication using the Email protocol. To send a notification to an Apple mobile device, you would create an FME Subscription using the Apple Push protocol.
There are many different protocols available in FME Server; some of them are only for use on Publications, some are only for Subscriptions, and some of them can be used with both notification types.
This table lists the different Publication and Subscription protocols and the following pages go into detail on some of the most important.
Protocol | Description | Publications | Subscriptions |
---|---|---|---|
Amazon S3 | Communication of a notification (file) to Amazon’s Simple Storage Service | Y | |
Amazon S3 Watch | Monitoring an AWS S3 bucket for activity | Y | |
Amazon SNS | Communication with Amazon’s Simple Notification Service | Y | Y |
Amazon SQS | Communication with Amazon’s Simple Queue Service | Y | Y |
Apple Push Notification | Communication with Apple mobile devices | Y | |
Directory Watch | Monitoring a folder for new files as a trigger mechanism | Y | |
Dropbox | Communication of a notification (file) to the Dropbox web service | Y | |
Dropbox Watch | Like Directory Watch, but monitoring folders stored in the Dropbox web service | Y | |
Email (IMAP) | Communication via an email service | Y | |
Email (SMTP) | Communication via an email server | Y | Y |
FME Workspace | Communication of notifications to an FME workspace | Y | |
FTP | Communication with an FTP site | Y | |
FTP Watch | Monitoring an FTP site for activity | Y | |
Google Cloud Messaging | Communication with Android mobile devices | Y | |
JMS | Communication with a Java Message Service | Y | Y |
Logger | Output to a simple log file | Y | |
Push | Communication via HTTP requests | Y | |
SFTP | Communication with an SFTP site | Y | |
UDP | Communication via a User Datagram Protocol port | Y | |
WebSocket | Communication via a WebSocket channel | Y | Y |
Protocols are pre-defined components in the FME Server architecture and do not need to be defined in the web interface.
However, a number of fields are made available to configure them when a Publication or Subscription is set up to make use of that protocol.
For example, here are the parameters for an Amazon SQS Subscription:
These parameters must be set when the Subscription is created as they are needed in order to be able to send out a notification using the protocol.