-
Notifications
You must be signed in to change notification settings - Fork 3
XML Configuration Example
assimbly edited this page Apr 1, 2022
·
10 revisions
<?xml version="1.0" encoding="UTF-8"?>
<integrations>
<integration>
<id>1</id>
<name>default</name>
<type>ADAPTER</type>
<environmentName>Dev1</environmentName>
<stage>DEVELOPMENT</stage>
<defaultFromEndpointType>FILE</defaultFromEndpointType>
<defaultToEndpointType>FILE</defaultToEndpointType>
<defaultErrorEndpointType>FILE</defaultErrorEndpointType>
<offloading/>
<flows>
<flow>
<id>1</id>
<name>FILE2HTTPS</name>
<autostart>false</autostart>
<offloading>false</offloading>
<maximumRedeliveries>0</maximumRedeliveries>
<redeliveryDelay>3000</redeliveryDelay>
<logLevel>OFF</logLevel>
<from>
<id>1</id>
<uri>file://C:\test11</uri>
</from>
<to>
<id>1</id>
<uri>https:httpbin.org/post</uri>
<header_id>1</header_id>
</to>
<error>
<id>1</id>
<uri>file://C:\test3</uri>
</error>
</flow>
<flow>
<id>2</id>
<name>FILE2FILE</name>
<autostart>false</autostart>
<offloading>false</offloading>
<maximumRedeliveries>0</maximumRedeliveries>
<redeliveryDelay>3000</redeliveryDelay>
<logLevel>OFF</logLevel>
<from>
<id>2</id>
<uri>file://C:\test1</uri>
</from>
<to>
<id>2</id>
<uri>file://C:\test2</uri>
<options>
<directoryMustExist>true</directoryMustExist>
</options>
</to>
<error>
<id>2</id>
<uri>file://C:\test3</uri>
</error>
</flow>
<flow>
<id>3</id>
<name>File2Queue</name>
<autostart>false</autostart>
<offloading>false</offloading>
<maximumRedeliveries>0</maximumRedeliveries>
<redeliveryDelay>3000</redeliveryDelay>
<logLevel>OFF</logLevel>
<from>
<id>3</id>
<uri>file://C:\test1</uri>
</from>
<to>
<id>3</id>
<uri>activemq:somequeue</uri>
<service_id>1</service_id>
</to>
<error>
<id>3</id>
<uri>file://C:\test3</uri>
</error>
</flow>
</flows>
<services>
<service>
<id>1</id>
<name>local</name>
<type>ActiveMQ Connection</type>
<keys>
<url>tcp://localhost:61616</url>
</keys>
</service>
</services>
<headers>
<header>
<id>1</id>
<name>myHeader</name>
<keys>
<Content-Type type="constant">text/xml</Content-Type>
<Timestamp type="simple">${date:now:yyyyMMdd}</Timestamp>
</keys>
</header>
</headers>
<environmentVariables/>
</integration>
</integrations>