The prjBatch_Streaming Project uses five Adapters, each represented in the Connectivity Map as a node between an External Application and a Service.
From the Connectivity Map, double-click the BatchInbound Adapter.
The Adapter Properties Editor appears.
Modify the properties for your system, including the settings for the BatchInbound Adapter in the following table, and click OK.
BatchInbound Adapter Connectivity Map Properties |
|
---|---|
Settings - Set as directed, otherwise use the default settings |
|
Directory Name |
Your input directory |
File Name |
BatchInbound.txt |
The BatchInbound Adapter Environment properties can keep the default settings for this sample.
From the Connectivity Map, double-click the BatchFTP Adapter.
The Adapter Properties Editor appears.
Modify the BatchFTP Adapter Connectivity Map properties for your system, including the settings in the following table, and click OK.
BatchFTP Adapter Connectivity Map Properties |
|
---|---|
Target Location - Set as directed, otherwise use the default settings |
|
Target Directory Name |
The directory (absolute path) from which files are retrieved |
Target File Name |
BatchFTPIn.txt |
From the Services tree, right-click the BatchFTP External System (esBatchFTP in this sample), and select Properties.
The Properties Editor opens to the BatchFTP Adapter Environment properties.
Modify the BatchFTP Adapter Environment properties for your system, including the settings in the following table, and click OK.
BatchFTP Adapter Environment Properties |
|
---|---|
FTP - Set as directed, otherwise use the default settings. |
|
Host Name |
localhost |
Server Port |
Port number to use to connect to the FTP server |
User Name |
User ID used to log into the system |
Password |
Password required to log into the system |
The BatchLocalFile Adapter’s specific properties are set from the Connectivity Map. Environment properties can use the default settings.
Double-click the BatchLocalFile Adapter.
The Adapter Properties Editor appears.
Modify the properties for your system, including the settings in the following table, and click OK.
BatchLocalFile Adapter Properties |
|
---|---|
Post Transfer - Set as directed, otherwise use the default settings |
|
Post Directory Name |
X:/Batch51/ready |
Post File Name |
BatchLocalFileReady.txt |
Target Location - Set as directed, otherwise use the default settings |
|
Target File Name |
The name of the file to be sent. |
Target Directory Name |
The directory on the system where files are sent. |
The BatchRecord Adapter’s specific properties are set from the Connectivity Map. Environment properties can use the default settings.
From the Connectivity Map, double-click the BatchRecord Adapter.
The Properties Sheet opens to the Adapter Connectivity Map properties.
Modify the configuration for your system, including the settings in the following table.
BatchRecord Adapter Connectivity Map Properties |
|
---|---|
General Settings - Set as directed, otherwise use the default settings |
|
Parse or Create Mode |
Parse |
Record - Set as directed, otherwise use the default settings |
|
Delimiter on Last Record |
Yes |
Record Delimiter |
\n |
Record Type |
Delimited |
From the Connectivity Map, double-click the outbound File1 Adapter.
The Properties Editor opens to the outbound File Adapter properties.
Modify the configuration for your system, including the settings in the following table.
Outbound File Adapter Connectivity Map Properties |
|
---|---|
Parameter Settings - Set as directed, otherwise use the default settings |
|
Output File Name |
FileOutput%d.txt |
From the Services tree, right-click the esFile External System, and select Properties.
The Properties Editor opens to the File Adapter Environment properties.
Modify the File Adapter Environment properties for your system, including the settings in the following table, and click OK.
File Adapter Environment Properties |
|
---|---|
Parameter Settings - Set as directed, otherwise use the default settings. |
|
Directory |
The directory on the system where files are sent. |
A Deployment Profile is used to assign Collaborations and message destinations to the Sun Java System Application Server and message server. Deployment Profiles are created using the Deployment Editor.
From the Enterprise Explorer’s Project Explorer, right-click the Project (prjBatch_Inbound_FTPIn_LocalFileOut) and select New ⇒ Deployment Profile.
Enter a name for the Deployment Profile (for this Project, use dpBatch_Inbound_FTPIn_LocalFileOut).
Make sure that the selected Environment is envBatch_Inbound_FTPIn_LocalFileOut.
Click OK.
The Project’s components are automatically mapped to their respective system windows.
If any of your Project components did not successfully map to an external system, open each of your Adapter’s configuration properties (Connectivity Map and Environment) and click OK to close and save the current configuration, then click Automap again.
Save the Project.