How Business Event messages are useful for monitoring simple file transfer between TIBCO ActiveMatrix® Adapter for Files (Unix/Win) publisher and subscriber.

How Business Event messages are useful for monitoring simple file transfer between TIBCO ActiveMatrix® Adapter for Files (Unix/Win) publisher and subscriber.

book

Article ID: KB0092696

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows -
Not Applicable -

Description

Description:
Business Event (EEM) messages are useful for monitoring simple file transfer between TIBCO ActiveMatrix® Adapter for Files (Unix/Win) publisher and an FA subscriber.

Issue/Introduction

How Business Event messages are useful for monitoring simple file transfer between TIBCO ActiveMatrix® Adapter for Files (Unix/Win) publisher and subscriber.

Resolution


Business Event (EEM) messages are useful in the following scenarios.
===================================================

1). When a TIBCO ActiveMatrix® Adapter for Files (Unix/Win) (FA) publisher is configured with Strict ECM mode and multiple subscribers are subscribing data, if one of the subscribers is down, then the publisher does not write any information to the log file to indicate which subscriber is down. To know which subscriber is down when the FA publisher publishes an EEM Event message containing the subscriber name with the "DeliveryNoResponse" message, the EEM Event messages can be captured.

2). If the FA subscriber can successfully subscribe to the messages, then the publisher publishes the name of all subscribers with the EEM Event with "TransferResult" as "Success".

3). If there is an I/O error on the subscriber side, the subscriber publishes events (“FileWriteFailed”, “FileTransferAbort”).

4). If a subscriber is terminated, it will show the event message, “File Adapter terminated”. Later, if the subscriber comes up it will show the message, “File transfer resuming”.

5). If there is a checksum error on the subscriber side, the publisher publishes, "TransferResult" as "Failed" with DeliveryNoResponse.


Configuring the EEM Event role into a Network sink in a project.
==============================================
1). Create a network sink for the publisher/subscriber in TIBCO Designer:

  Drag the network sink object from the FA palette.
 
  Assign the EEM Event role to the network sink.

For detailed information about creating a network sink, see the TIBCO Designer User’s Guide.

2). Configure the adfiles.EEMEnabled property:

  If using TIBCO Administrator, from the Global Variables tab, add a new global variable named adfiles.EEMEnabled and set the value to ON. Add the adfiles.EEMEnabled property to the properties file (.tra) and set the value to ON.

3). Run tibrvlisten on the subject specified in the network sink.

Additional Information


For detailed information about creating a network sink, see the TIBCO Designer User’s Guide.

File Adapter Configuration and Deployment Guide->Chapter 5 Advanced Topics->Business Event Messages