Select the jca.file.FileName property from the Properties column and set the

Oracle JCA Adapter for FilesFTP 4-57 Figure 4–30 The Invoke Dialog

4.3.2.2.6 Batching Multiple Outbound Messages

In the simplest scenario, you specify writing a single file to a single message. You can also specify the outbound method for batch file writing. This method enables you to specify the number of messages to publish in one batch file. The following batch file settings are provided in the File Configuration page shown in Figure 4–26 : ■ Number of Messages Equals Specify a value which, when equaled, causes a new outgoing file to be created. ■ Elapsed Time Exceeds Specify a time which, when exceeded, causes a new outgoing file to be created. For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds. ■ File Size Exceeds Specify a file size which, when equaled, causes an outgoing file to be created. For example, assume that you specify a value of 3 for the number of messages received and a value of 1 MB for the file size. When you receive two messages that when combined equal or exceed 1 MB, or three messages that are less than 1 MB, an output file is created. Note: When using dynamic files, 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 files. Note: The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens. 4-58 Oracle Fusion Middleware Users Guide for Technology Adapters If the Oracle File Adapter encounters some problem during batching, then it starts batching at the point at which it left off on recovery.

4.3.2.3 Native Data Translation

The next Adapter Configuration Wizard page that appears is the Messages page shown in Figure 4–31 . This page enables you to select the XSD schema file for translation. Figure 4–31 Specifying the Schema As with specifying the schema for the inbound direction, you can perform the following tasks in this page: ■ Specify whether native format translation is not required. ■ Select the XSD schema file for translation. ■ Start the Native Format Builder wizard to create an XSD file from file formats such as CSV, fixed-length, DTD, and COBOL Copybook. For more information about Messages page, see Section 4.3.1.6, Native Data Translation.

4.3.2.4 Outbound Service Files

When you complete configuration of the Oracle File Adapter with the Adapter Configuration Wizard, a WSDL and a JCA file pair is generated for the outbound operation. The files are named after the service name you specified on the Service Name page of the Adapter Configuration Wizard shown in Figure 3–8 . You can rerun the wizard later to change your operation definitions. Note: You must not manually change the file configurations specified in the preceding list in the JCA files. You must use the Adapter Configuration Wizard to modify these configurations.