Sample configuration files for the RFC Output adapter are located in the examples directory.
Here is a sample configuration file for a simple output adapter.
<?xml version="1.0" encoding="utf-8"?> <Adapter> <Name>RFC Output Adapter</Name> <Description>This output adapter retrieves data from an ESP stream and sends it to an SAP system through RFC</Description> <ControlPort>19051</ControlPort> <Modules> <Module type="espconnector"> <InstanceName>OutStream_Subscriber</InstanceName> <Name>EspSubscriber</Name> <Next>RFCOutputTransporter</Next> <Parameters> <EspSubscriberParameters> <ProjectName>EspProject2</ProjectName> <StreamName>MyInStream</StreamName> <!-- <GDMode>false</GDMode> <GDKeyColumnName>gdKey</GDKeyColumnName> <GDOpodeColumnName>gdOpcode</GDOpodeColumnName> <GDBatchSize>5</GDBatchSize> <GDPurgeInterval>300</GDPurgeInterval> <GDControlStream>W1_truncate</GDControlStream> --> </EspSubscriberParameters> </Parameters> </Module> <Module type="transporter"> <InstanceName>RFCOutputTransporter</InstanceName> <Name>RFCOutputTransporter</Name> <Parameters> <RFCOutputTransporterParameters> <Host>hostname</Host> <SystemNumber>00</SystemNumber> <Client>000</Client> <SAPUser>user</SAPUser> <SAPPassword encrypted="false">password</SAPPassword> <Keystore>keystore.jks</Keystore> <KeystorePassword>password</KeystorePassword> <BatchSize>0</BatchSize> <RFC> <Function>ESP_DEV_INSERT_TABLE</Function> <Mapping>mapping.xml</Mapping> </RFC> </RFCOutputTransporterParameters> </Parameters> </Module> </Modules> <EspProjects> <EspProject> <Name>EspProject2</Name> <Uri>esp://localhost:19011/w1/p1</Uri> <!--can specify multiple uri’s --> <Security> <User>sybase</User> <Password encrypted="false">sybase</Password> <AuthType>user_password</AuthType> <!-- <RSAKeyStore>/keystore/keystore.jks</RSAKeyStore> <RSAKeyStorePassword>Sybase123</RSAKeyStorePassword> --> <!-- <KerberosKDC>KDC</KerberosKDC> <KerberosRealm>REALM</KerberosRealm> <KerberosService>service/instance</KerberosService> <KerberosTicketCache>/tmp/krb5cc_user</KerberosTicketCache> --> <EncryptionAlgorithm>RSA</EncryptionAlgorithm> </Security> </EspProject> </EspProjects> <GlobalParameters></GlobalParameters> </Adapter>
Here is a sample configuration file for an output adapter with guaranteed delivery enabled.
<?xml version="1.0" encoding="utf-8"?> <Adapter> <Name>RFC Output Adapter</Name> <Description>This output adapter retrieves data from an ESP stream and sends it to an SAP system through RFC</Description> <ControlPort>19051</ControlPort> <Modules> <Module type="espconnector"> <InstanceName>OutStream_Subscriber</InstanceName> <Name>EspSubscriber</Name> <Next>RFCOutputTransporter</Next> <Parameters> <EspSubscriberParameters> <ProjectName>EspProject2</ProjectName> <StreamName>W1_log</StreamName> <GDMode>true</GDMode> <GDKeyColumnName>gdKey</GDKeyColumnName> <GDOpodeColumnName>gdOpcode</GDOpodeColumnName> <GDBatchSize>3</GDBatchSize> <GDPurgeInterval>300</GDPurgeInterval> <GDControlStream>W1_truncate</GDControlStream> </EspSubscriberParameters> </Parameters> </Module> <Module type="transporter"> <InstanceName>RFCOutputTransporter</InstanceName> <Name>RFCOutputTransporter</Name> <Parameters> <RFCOutputTransporterParameters> <Host>hostname</Host> <SystemNumber>00</SystemNumber> <Client>000</Client> <SAPUser>user</SAPUser> <SAPPassword encrypted="false">password</SAPPassword> <Keystore>keystore.jks</Keystore> <KeystorePassword>password</KeystorePassword> <BatchSize>0</BatchSize> <RFC> <Function>ESP_DEV_INSERT_TABLE</Function> <Mapping>mapping.xml</Mapping> </RFC> </RFCOutputTransporterParameters> </Parameters> </Module> </Modules> <EspProjects> <EspProject> <Name>EspProject2</Name> <Uri>esp://localhost:19011/w1/p1</Uri> <!--can specify multiple uri’s --> <Security> <User>sybase</User> <Password encrypted="false">sybase</Password> <AuthType>user_password</AuthType> <!-- <RSAKeyStore>/keystore/keystore.jks</RSAKeyStore> <RSAKeyStorePassword>Sybase123</RSAKeyStorePassword> --> <!-- <KerberosKDC>KDC</KerberosKDC> <KerberosRealm>REALM</KerberosRealm> <KerberosService>service/instance</KerberosService> <KerberosTicketCache>/tmp/krb5cc_user</KerberosTicketCache> --> <EncryptionAlgorithm>RSA</EncryptionAlgorithm> </Security> </EspProject> </EspProjects> <GlobalParameters></GlobalParameters> </Adapter>