Click the Properties tab. Select the jca.file.Directory property from the Properties column and set

Oracle JCA Adapter for FilesFTP 4-53 Figure 4–29 The Invoke Dialog

4.3.2.2.4 Specifying the Outbound File Naming Convention

Specify the naming convention to use for outgoing files. You cannot enter completely static names such as po.txt. This is to ensure the uniqueness in names of outgoing files, which prevents files from being inadvertently overwritten. Instead, outgoing file names must be a combination of static and dynamic portions. The prefix and suffix portions of the file example shown in Figure 4–26 are static for example, po_ and .xml. The SEQ variable of the name is dynamic and can be a sequence number or a time stamp for example, po_yyMMddHHmmss.xml to create a file with a time stamp. If you choose a name starting with po_, followed by a sequence number and the extension txt as the naming convention of the outgoing files, then you must specify po_SEQ.txt. If you choose a name starting with po_, followed by a time stamp with the pattern yyyy.MM.dd and the extension txt as the naming convention of the outgoing file, then you must specify po_yyyy.MM.dd.txt. For example, the outgoing file name can be po_2004.11.29.txt. Additionally, you can combine file naming conventions. For example, you can specify the file naming convention as po_SEQ_yyyy.MM.dd_SEQ.txt. Note: When using dynamic directories, ensure that parameters such as NumberMessages, ElapsedTime, and FileSize are not defined in the outbound adapter service WSDL file. These parameters are not supported with dynamic directories. 4-54 Oracle Fusion Middleware Users Guide for Technology Adapters You cannot use a regular expression for outbound synchronous reads. In these cases, the exact file name must be known. A time stamp is specified by date and time pattern strings. Within date and time pattern strings, unquoted letters from A to Z and from a to z are interpreted as pattern letters representing the components of a date or time string. Text can be quoted using single quotation marks to avoid interpretation. The characters represent single quotation marks. All other characters are not interpreted. The Java pattern letters are defined in Table 4–6 . Different presentations in the pattern are as follows: Note: When you use the time stamp pattern, the same time stamp may be generated on subsequent calls and you may lose messages. The workaround is to combine the time-stamp pattern with a sequence pattern. Alternatively, you can use a time-stamp pattern closest to a millisecond, in which case the adapter handles the uniqueness of the file names. Table 4–6 Java Pattern Letters Letter Date or Time Component Presentation Examples G Era designator Text AD y Year Year 1996; 96 M Month in year Month July; Jul; 07 w Week in year Number 27 W Week in month Number 2 D Day in year Number 189 d Day in month Number 10 F Day of week in month Number 2 E Day in week Text Tuesday; Tue a AMPM marker Text PM H Hour in day 0-23 Number k Hour in day 1-24 Number 24 K Hour in AMPM 0-11 Number h Hour in AMPM 1-12 Number 12 m Minute in hour Number 30 s Second in minute Number 55 S Millisecond Number 978 z Time zone General Time Zone Pacific Standard Time; PST; GMT-08:00 Z Time zone RFC 822 Time Zone -0800