Poller Server
Poller Server (PS) retrieves inbound requests from FTP and SFTP servers, Mail server, and shared file directory. It includes both inbound and outbound file pollers.
Poller Server communicates with Interior Server using the Enterprise Message Service message bus to receive inbound messages.
A diagram of Poller Server and Interior Server communications is depicted in the following figure.
Figure 8: Poller and Interior Server Architecture
Legend | |
---|---|
DB | Database |
DMZ | Demilitarized Zone |
IS | Interior Server |
JMX | Java Management Extensions |
Poller Server Properties
BusinessConnect Container Edition, the Poller Server framework provides various configuration properties that allow each Poller Server engine in your deployment to run Poller tasks of one or more specific types. The supported Poller types are Inbound Email, Inbound FILE, Inbound FTP, and Outbound FILE. You can specify the number of Poller Server engines to run a specific Poller type, the rate at which the trading partner configurations are to be reloaded, and the associated priority for a specific Poller type.
Using the Poller Server dispatch mechanism, each Poller Server engine reads the configuration during startup and runs the pollers using a round-robin algorithm. BusinessConnect Container Edition supports the following configuration properties:
bcce_poller_engines=integer
The number of Poller Servers in your deployment. The default value is set to 1.
bcce_poller_{ib_email|ib_file|ob_file|ib_ftp}_instances=integer
The number of engines running a specific Poller type. The default value is set to 1. This value should be in the range of 1..<bcce.poller.engines>. A zero value implies that the Poller tasks of this type are never run.
bcce_poller_{ib_email|ib_file|ob_file|ib_ftp}_refresh_rate=integer
The refresh rate (in seconds). The default value is set to 300. The trading partner configurations are reloaded periodically after the specified interval. Any running Poller tasks are ended before reloading the trading partner configurations and then restarted.
bcce_poller_{ib_email|ib_file|ob_file|ib_ftp}_weight=integer
The priority of the Poller (1 being low - 10 being high). The default value is set to 10. Poller tasks of the specified type are started by the Poller Server engine in decreasing order of the assigned priority. The combination of priority and instance of configuration parameters enables a Poller Server engine to run Poller tasks of different types, reduce the overall load on that engine, and improve its performance.
Based on the number of Poller Server engines and configuration of individual Poller types you can address the requirements such as running Poller tasks of a specific type in separate Poller Server engines or running Poller tasks of a specific type in multiple Poller server engines. Ensure that the Poller tasks are run in the subsequent refresh cycles, irrespective of the number of jobs involved.