span8
span4
span8
span4
This article is specific to FME Server 2014.For the latest version of this content please visit:Triggering Notifications from a Workspace
The FME Server Notification Service allows messages to be sent and received by FME Server when events occur.There are several supported protocols,which enable FME Server to communicate with a variety of applications.
The architecture,illustrated in the diagram below,is based on topics,which are channels for messages.Publishers create messages,while subscribers consume them.For example,a workspace sends a message to a topic when a CAD file fails validation.If an email subscriber is set up to receive this message,it will respond by sending an email to a specified address.
For more information on the notification service,please see theNotification Service documentation
In order to see that notifications are actually being sent,you can use theMonitoringpage in FME Server:
您还可以配置一个订阅,such as an email subscription.Please seeSending Email,Part 1for information on how to do this.Note that the tutorial uses the FME Store transformer,FMEServerEmailGenerator,as a shortcut to generate the JSON.It is faster to use,but cannot be configured to create a different type of notification.
In this tutorial,we will be creating notifications for use with the email subscriber,but the techniques are essentially the same for other subscribers.
Several features used in this tutorial were added in FME Server 2014,and so are not available in earlier versions.These features,with alternative methods,are:
Sending email,Part 1: Setting up a topic and an email subscriber (2015)
Receiving email,Part 1: Setting up a topic and an email address (2015)
Workspace notifications,Part 2: Configuring the default subscribers (2014)
Subscribe,Report and Notify Tutorial - 0.Basics of Notifications (2014)
Workspace notifications,Part 3: Completion notification (2014)
Workspace Notifications,Part 1: From within the workspace (2014)
Subscribe,Report and Notify Tutorial - 2.Spatial Business Rules (2014)
Sending email,Part 4: Sending prettier email using HTML (2015)
Receiving email,Part 2: Processing email with a workspace (2015)
Sending email,Part 3: Sending an email when a workspace completes (2015)
© 2019 亚搏在线Safe Software Inc |Legal