Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Example 1

This example does property replacement for 2 Agreements of a particular Trading Partner. This config file could be used for the b2bImportTradingPartner or b2bImportAgreement. If multiple Agreements are specified and only one exists in the build, the second will just be ignored during replacement.

Code Block
Use:{Agreements}
ObjectsToUse:{GreenBayPackers_To_Flexagon_Custom,Flexagon_To_GreenBayPackers_Custom}
ListsToUse:{MyCompanyProtocol,PartnerProtocol}
MyCompanyName:Flexagon 
GreenBayPackers_To_Flexagon_Custom:MyCompanyProtocol|file-param-folder:/dev/null
GreenBayPackers_To_Flexagon_Custom:MyCompanyProtocol|file-param-minimum_age:10
GreenBayPackers_To_Flexagon_Custom:MyCompanyProtocol|file-param-preserve_filename:false 
Flexagon_To_GreenBayPackers_Custom:PartnerProtocol|ftp-param-password:welcome1

Example 2

The below example does replacement for Base Listening Channels which would be exported by the b2bExportBaseChannels operation.

Code Block
Use:{BaseChannels}
AgreementsToUse:{Flexagon_LC}
ListsToUse:{MyCompanyProtocol}
MyCompanyName:Flexagon 
Flexagon_LC:MyCompanyProtocol|sftp-param-host:notarealhost.company
Flexagon_LC:MyCompanyProtocol|sftp-param-password:notarealpassword
Flexagon_LC:MyCompanyProtocol|sftp-param-folder:/u01/oracle/products/fmw/b2b/inbound

Example 3

The below example does property replacement for a single Agreement. As well as replacing Listening Channel properties, it also updates the identifiers used by the Trading Partner.

...