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 a Publication by email – for example – you would use the Email protocol. To send a notification to subscribers with an Apple mobile device, you would use 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.
|Amazon S3||Communication with Amazon’s Simple Storage Service||Y||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 Watch||Like Directory Watch, but monitoring folders stored in the Dropbox web service||Y|
|Dropbox||Communication of a notification (file) to the Dropbox web service||Y|
|Email (IMAP)||Communication via an email service||Y|
|Email (SMTP)||Communication via an email server||Y||Y|
|FTP/SFTP/FTP Watch||Communication with an FTP site||Y||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|
|UDP||Communication via a User Datagram Protocol port||Y|
|WebSockets||Communication via a WebSockets channel||Y||Y|
|Workspace||Communication of notifications to an FME workspace||Y|
|The Dropbox subscription and Dropbox Watch publication protocols are new for FME2016.1|
Protocols are pre-defined components in the FME Server architecture and do not need to be defined in the Web User Interface.
However, a number of fields are made available to configure them when a Publication or Subscription chooses 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.
|Miss Vector says...|
Tell me, which one of these statements is correct:
1. SMTP and IMAP can both be used as either a Subscription and/or a Publication protocol
2. SMTP can be used as both a Subscription and a Publication; IMAP can only be used for a Publication
3. SMTP can only be used for a Publication; IMAP can only be used as both a Subscription and a Publication
4. SMTP can only be used for a Subscription; IMAP can only be used for a Publication