Skip Headers
Oracle® Application Server Integration InterConnect Adapter for FTP Installation and User's Guide
10g Release 2 (10.1.2)
B14073-02
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

B Example of the adapter.ini File

This appendix shows a sample adapter.ini file for the FTP adapter.


See Also:

Configuring the FTP Adapter for additional information on adapter.ini configuration parameters

The following code is an example of the FTP adapter.ini file.

#include <../../hub/hub.ini>

// *************
// ** Adapter **
// *************

// Application (as created in iStudio) corresponding to this Adapter.
application=myFtpApp

// Partition (as created in iStudio) corresponding to this Adapter.
partition=

// If you have multiple adapter instances for a given application with the 
// given partition, each Adapter should have an instance number.
 
//instance_number=2

// Bridge class
bridge_class=oracle.oai.agent.adapter.technology.TechBridge

ota.type=D3L


// define the ftp sending endpoint
// For ftp, ota.send.endpoint=ftp://host name/path name
// For file, ota.send.endpoint=file://host name/path name
// 
ota.send.endpoint= ftp://foo.s.com/private/ipdev1/test/d3l/inbound

// define the ftp receiving endpoint
// For ftp, ota.send.endpoint=ftp://host name/path name
// For file, ota.send.endpoint=file://host name/path name
//
ota.receive.endpoint=ftp://foo.s.com/private/ipdev1/test/d3l/inbound


//--------------------------------------
// ftp Sender initialization variables
//--------------------------------------

// ftp user (mandatory if ftp is used)
// file.sender.user=ipdev1
file.sender.user=ipdev1


// ftp user password (mandatory if ftp is used)
//file.sender.password=ipdev1
file.sender.password=ipwelcome


// file type (ASCII or BINARY)
//file.sender.type=BINARY
file.sender.type=ASCII

// proxy host 
//file.sender.proxy_host=

// proxy port
//file.sender.proxy_port=
//staging directory
//file.sender.staging_directory =/tmp

//sender customizer class
//file.sender.customizer_class = MySenderCustomizer

//--------------------------------------
// ftp receiver initialization variables
//--------------------------------------

// ftp user (mandatory if ftp is used)
//file.receiver.user=ipdev1
file.receiver.user=ipdev1

// ftp user password (mandatory if ftp is used)
//file.receiver.password=ipdev1
file.receiver.password=ipwelcome

// file type (ASCII or BINARY)
//file.receiver.type=BINARY
file.receiver.type=BINARY

// proxy host 
//file.receiver.proxy_host=

// proxy port
//file.receiver.proxy_port=
//receiver customizer class
//file.receiver.customizer_class = MyReceiverCustomizer

// define where to put the file that cannot be processed properly.
//file.receiver.exception_dir=


// define how often to poll
// the message source (in milli seconds)
file.receiver.polling_interval=60000

// define maximum number of messages
// retrieved in each polling session
file.receiver.max_msgs_retrieved=30

// D3L initialization variables
ota.d3ls=person2.xml:person1.xml


// *************
// ** Agent  ***
// *************

// Log level (0 = errors only, 1 = status and errors, 2 = trace, status and 
// errors).
agent_log_level=2

// Hub message selection information
agent_subscriber_name=myFTPApp
agent_message_selector=recipient_list like '%,myFTPApp,%'
// Only provide values for the next two parameters if you have multiple Adapter 
// instances for the given application with the given partition.

//agent_reply_subscriber_name=
//agent_reply_message_selector=

// Set this to false if you want to turn off all tracking of messages (if true, 
// messages which have tracking fields set in iStudio will be tracked)

agent_tracking_enabled=true

// Set this to false if you want to turn off all throughput measurements
agent_throughput_measurement_enabled=true

// By default, Adapters use an OAI specific DTD for all messages sent to the Hub
//as other OAI Adapters will be picking up the messages from the Hub and know
// how to interpret them. This should be set to true if for every message, you
//would like to use the DTD imported for that message's Common View instead
//of the OAI DTD. This should only be set to true if an OAI Adapter
//is *NOT* receiving the messages from the Hub.

agent_use_custom_hub_dtd=false

// Sets the metadata caching algorithm. The possible choices are startup (cache everything at startup: this may take a while if there is a lot of metadata in 
// your Repository), demand (cache metadata as it is used) or none (no caching: // this will slow down performance.)
agent_metadata_caching=demand

// Sets the DVM table caching algorithm. The possible choices are startup (cache // all DVM tables at startup: this may take a while if there are a lot of tables // in your Repository), demand (cache tables as they are used) or none (no caching //: this will slow down performance.)
agent_dvm_table_caching=demand

// Sets the lookup table caching algorithm. The possible choices are startup 
// (cache all lookup tables at startup: this may take a while if there are a lot
// of tables in your Repository), demand (cache tables as they are used) or none
// (no caching: this will slow down performance.)
agent_lookup_table_caching=demand

// If metadata caching, DVM table caching, or lookup table caching are turned on
//(startup or demand) then the Adapter caches metadata or DVM tables it retrieves
//from the Repository in a file cache. When you restart the Adapter,it will not
// have to get that metadata or DVM table from the Repository again because it is // in the cache files.However, if you change some metadata or DVM table using
// iStudio and you want the Adapter to use those changes the next time it is
// started you can either delete the cache files or set this parameter to true
// before restarting.
agent_delete_file_cache_at_startup=false

// Max number of application datatype information to cache
agent_max_ao_cache_size=200

// Max number of common datatype information to cache
agent_max_co_cache_size=100

// Max number of message metadata to cache
agent_max_message_metadata_cache_size=200

// Max number of DVM tables to cache
agent_max_dvm_table_cache_size=200

// Max number of lookup tables to cache
agent_max_lookup_table_cache_size=200

// Internal Agent queue sizes
agent_max_queue_size=1000
agent_Persistence_queue_size=1000

// Persistence
agent_persistence_cleanup_interval=60000
agent_persistence_retry_interval=60000


 //////////////////
 // End Comments //
//////////////////