What does the synchronous mode check box do?

What does the synchronous mode check box do?

book

Article ID: KB0085314

calendar_today

Updated On:

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

Description

Resolution:
An adapter instance or configuration can consist of multiple publication and subscription services.

The subscription service, by default, always operates in the asynchronous mode. However, the publication service provides you with the option to configure it in the synchronous or asynchronous mode.

Services are activated by the events they receive from the underlying messaging infrastructure. The publication service can be configured to be activated by a timer event or a message event.

The event that activates the publication service is called a polling event.

In the synchronous mode, upon receiving an event, the publication service will allow other services in the instance, if any, to receive an event only after it completes processing and publishing all the files that match the specified criteria.
In the asynchronous mode, a publication service will allow other services in the configuration to receive events while it is processing and publishing a file.

If the configuration consists of a single publication service, running it in the synchronous or asynchronous mode will not matter. If the configuration consists of more than one service (publication or subscription), or if a publication service is expected to process large file sizes, or a large set of files, or both, then setting the publication service(s) to the asynchronous mode is recommended.

Issue/Introduction

What does the synchronous mode check box do?