How do you configure the inbound file adapter to read local files in ascending order of their lastModifiedTime?

You have modeled a composite with a one-way Mediator component that is exposed via an
inbound file adapter service. How do you configure the inbound file adapter to read local files in
ascending order of their lastModifiedTime?

You have modeled a composite with a one-way Mediator component that is exposed via an
inbound file adapter service. How do you configure the inbound file adapter to read local files in
ascending order of their lastModifiedTime?

A.
By setting the SingleThreadModel activationsSpec property to true and configuring the
ListSorter activationSpec property to
oracle.tip.adapter.file.inbound.listing.TimestampSorterAscending.

B.
By not making any configuration changes because, by default, the adapter reads input files in
ascending order of their lastModifiedTime.

C.
By setting the ThreadCount activationSpec property to 0 and configuring the List Sorter
activationSpec property to oracle.tip.adapter.file.inbound.listing.TimestampSorterDescending.

D.
By setting the ThreadCount activatioSpec property to – 1 and configuring the ListSorter
activationSpec property to oracle.tip.adapter.file.inbound.liting.TimestampSorterAscending.

Explanation:
When files must be processed by Oracle File and FTP Adapters in a particular
order, you must configure the sorting parameters. For example, you can configure the sorting
parameters for Oracle File and FTP Adapters to process files in ascending or descending order by
time stamps.
You must meet the following prerequisites for sorting scenarios of Oracle File and FTP Adapters:
Use a synchronous operation
Add the following property to the inbound JCA file:
<property name=”ListSorter”
value=”oracle.tip.adapter.file.inbound.listing.TimestampSorterAscending”/>
<property name=”SingleThreadModel” value=”true”/>



Leave a Reply 6

Your email address will not be published. Required fields are marked *


Ahmed

Ahmed

Hi,

I am looking for 1Z0-434(Oracle SOA Suite 12c Essentials) dumps.

Could anybody help me with that?

Thanks.

azonium

azonium

Hi,

I’ve passed this exam today (22 June 2017) – 82%.
6 questions were not from this dump.
will post answers for questions I’ve got.

For this question it was A.