Sample adapter configuration file for the JMS CSV Output adapter.
<?xml version="1.0" encoding="utf-8"?>
<Adapter>
<Name>JMS CSV Output</Name>
<Description>An adapter which transforms ESP data to CSV format and sends out the data to the JMS server.</Description>
<Log4jProperty>./log4j.properties</Log4jProperty>
<Cipher>
<File>../../adapter.key</File>
</Cipher>
<Modules>
<Module type="espconnector">
<InstanceName>MyOutStream_Subscriber</InstanceName>
<Name>EspSubscriber</Name>
<Next>CSVOutputFormatter</Next>
<Parameters>
<EspSubscriberParameters>
<!--Uncomment the following 2 elements when you use 'start_adapter[.bat|.sh]' -->
<!--ProjectName>EspProject2</ProjectName-->
<!--StreamName>BaseOutput</StreamName-->
<OutputBase>true</OutputBase>
<OnlyBase>false</OnlyBase>
<!--refer to adapter doc for below 3 GD related parameters -->
<!--EnableGdMode>false</EnableGdMode-->
<!--EnableGdCache>false</EnableGdCache-->
<!--GdSubscriberName>ext_adapter_gd_sub</GdSubscriberName-->
</EspSubscriberParameters>
</Parameters>
</Module>
<Module type="formatter">
<InstanceName>CSVOutputFormatter</InstanceName>
<Name>EspToCsvStringFormatter</Name>
<Next>JmsOutputTransporter</Next>
<Parallel>true</Parallel>
<Parameters>
<EspToCsvStringFormatterParameters>
<HasHeader>true</HasHeader>
<PrependStreamNameOpcode>true</PrependStreamNameOpcode>
</EspToCsvStringFormatterParameters>
</Parameters>
</Module>
<Module type="transporter">
<InstanceName>JmsOutputTransporter</InstanceName>
<Name>JmsOutputTransporter</Name>
<Parameters>
<JMSOutputTransporterParameters>
<ConnectionFactory>ConnectionFactory</ConnectionFactory>
<JndiContextFactory>org.apache.activemq.jndi.ActiveMQInitialContextFactory</JndiContextFactory>
<JndiURL>tcp://localhost:61616</JndiURL>
<DestinationName>queue.jmscsv.test</DestinationName>
<DestinationType>QUEUE</DestinationType>
<MessageType>TEXT</MessageType>
<BatchSize>0</BatchSize>
<BatchPeriod>0</BatchPeriod>
<!-- Uncomment the JndiSecurityPrincipal and JndiSecurityCredentials elements below and set appropriate values if the JMS server requires JNDI credentials -->
<!-- JndiSecurityPrincipal></JndiSecurityPrincipal -->
<!-- JndiSecurityCredentials encrypted="false"></JndiSecurityCredentials -->
<!-- Uncomment the Username and Password elements below and set appropriate values if the JMS server requires JMS connection credentials -->
<!-- Username></Username -->
<!-- Password encrypted="false"></Password -->
</JMSOutputTransporterParameters>
</Parameters>
</Module>
</Modules>
<EspProjects>
<EspProject>
<Name>EspProject2</Name>
<Uri>esp[s]://localhost:19011/sample_workspace/jms_csv_output</Uri>
<Security>
<User></User>
<Password encrypted="false"></Password>
<AuthType>user_password</AuthType>
</Security>
</EspProject>
</EspProjects>
<GlobalParameters></GlobalParameters>
</Adapter>