Configuring Properties for Web Services

Configuring Service and Reference Binding Components 33-17 Service Encoding Set it to the encoding for the attachment. This parameter is not used internally by the fileFTP adapter and is meant for third party applications that process the attachments published by the fileFTP adapter. Service ContentType Set it to the Mime-Type for the attachment. This parameter is not used internally by the fileFTP adapter and is meant for third party applications that process the attachments published by the fileFTP adapter. Service ListSorter Specifies the sorter that the fileFTP adapter uses to sort files in the inbound direction. You can set this parameter to \oracle.tip.adapter.file.inbound.lis ting.TimestampSorterAscending\, or \oracle.tip.adapter.file.inbound.lis ting.TimestampSorterDescending\. You can also plug in your own sorter by writing a class that implements \java.util.Comparator\. Service SingleThreadModel If the value is true, the fileFTP adapter poller processes files in the same thread; it does not use the global in-memory queue for processing. Service ThreadCount If this parameter is available, the adapter creates its own processor threads rather than depending on the global thread pool processor threads by default, 4 of them. In other words, this parameter partitions the in-memory queue and each composite application gets its own in-memory queue. If the ThreadCount is set to \0\, then it behaves in the same manner as the SingleThreadModel. If the ThreadCount is set to \-1\, then it starts using the global thread pool. The maximum value for this property is 40. Service recoveryInterval Used by the inbound adapter to configure the recoveryInterval in case of errors. For example, if the PhysicalDirectory is nonexistent, then the adapter uses this value to perform periodic sleepwake ups to check if the PhysicalDirectory has been created and is accessible. Service jca.message.encoding This parameter is used to override the encoding specified in the NXSD schema for the inbound fileFTP adapter. Service oracle.tip.adapter. file.debatching. rejection.quantum This property lets you control the size of a rejected message for the inbound fileFTP adapter partner link. For example, if you set it to \100\, it causes the fileFTP adapter to reject 100 lines from the file since the actual file is too large. Service useFileSystem This parameter is used by the inbound fileFTP adapter during read-only polling in a clustered environment. Setting it to \true\ causes the adapter to use the file system to store metadata about files that have been already processed. Setting it to \false\ causes the adapter to use a database table. Table 33–6 Cont. Oracle FTP Adapter Properties Service, Reference, or Endpoint Property Name Description 33-18 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite Service oracle.tip.adapter. file.timeout.recover picked.minutes Used by the inbound high-availability adapter when using \FILEADAPTER_IN\ as the coordinator. When a file is first claimed enqueued by a node for processing, the FILE_ PROCESSED column in FILEADAPTER_IN is set to \0\. At a later point in time, when one of the decoupled processor threads picks up the file for processing, the value of FILE_PROCESSED column is updated from \0\ to \1\. When the file is processed completely, the FILE_ PROCESSED column is updated from \1\ to \2\. However, if the processor thread picks up a file, but the node crashes before it can process the file, then the file is never processed. This parameter is used to \undo\ the pick operation. The adapter does this by deleting the entries in the FILEADAPTER_IN table that have been picked up, but not processed within the value specified here. Service oracle.tip.adapter. file.timeout. recoverunpicked.minutes Used by the inbound high-availability adapter when using \FILEADAPTER_IN\ as the coordinator. When a file is first claimed by a node for processing, the FILE_PROCESSED column in FILEADAPTER_IN is set to \0\. At a later point in time, when the decoupled-processor thread picks up the file for processing, the value of the FILE_PROCESSED column is updated from \0\ to \1\. When the file is processed completely, the FILE_PROCESSED column is updated from \1\ to \2\. If the node crashes when the FILE_PROCESSED is still \0\, the file is enqueued by a node this means no other nodes can pick this one up. However, it also means that the decoupled processor threads have still not picked this one for processing. This parameter is used to \undo\ the claimenqueue_ operation. The adapter does this by deleting the entries in the FILEADAPTER_IN table that have been claimed for example, FILE_PROCESSED ==\0\, but not picked up until now. Service purgeIntervalMillis Defines how often the poller thread purges control files for read-only polling scenarios. This defaults to 5 days. Service oracle.tip.adapter.file. highavailability. maxRetryInterval The number of milliseconds after which the inbound fileFTP adapter retries to establish a database connection in distributed polling scenarios. Service oracle.tip.adapter.file. highavailability.maxRetry The number of times that the inbound fileFTP adapter retries to establish a database connection in distributed polling scenarios. Service oracle.tip.adapter. file.rejectOriginalContent Setting to \true\ causes the fileFTP adapter to reject the original actual content. If set to \false\, the adapter rejects the XML data created because of the translation step. Table 33–6 Cont. Oracle FTP Adapter Properties Service, Reference, or Endpoint Property Name Description