Publishes the XML result from the translator to the SCA infrastructure.

Oracle JCA Adapter for FilesFTP 4-23

4.2.16.2 Modified Threading Model

You can modify the default threading behavior of Oracle File and FTP Adapters. Modifying the threading model results in a modified throttling behavior of Oracle File and FTP Adapters. The following sections describe the modified threading behavior of the Oracle File and FTP Adapters: ■ Single Threaded Model ■ Partitioned Threaded Model Single Threaded Model The single threaded model is a modified threaded model that enables the poller to assume the role of a processor. The poller thread processes the files in the same thread. The global pool of processor threads is not used in this model. You can define the property for a single threaded model in the inbound JCA file as follows: activation-spec className=oracle.tip.adapter.file.inbound.FileActivationSpec property.. property name=SingleThreadModel value=true property.. activation-spec Partitioned Threaded Model The partitioned threaded model is a modified threaded model in which the in-memory queue is partitioned and each composite application receives its own in-memory queue. The Oracle File and FTP Adapters are enabled to create their own processor threads rather than depend on the global pool of processor worker threads for processing the enqueued files. You can define the property for a partitioned model in the inbound JCA file as follows: activation-spec className=oracle.tip.adapter.file.inbound.FileActivationSpec property.. property name=ThreadCount value=4 property.. activation-spec In the preceding example for defining the property for a partitioned model: ■ If the ThreadCount property is set to 0, then the threading behavior is like that of the single threaded model. ■ If the ThreadCount property is set to -1, then the global thread pool is used, as in the default threading model. ■ The maximum value for the ThreadCount property is 40.

4.2.17 Performance Tuning

The Oracle File and FTP Adapters support the performance tuning feature by providing knobs to throttle the inbound and outbound operations. The Oracle File and FTP Adapters also provide knobs that can be used to tune the performance of outbound operations. For more information about performance tuning, see Oracle JCA Adapters for FilesFTP in the Oracle Fusion Middleware Performance and Tuning Guide.