All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.blueprint.InfometricRoutes.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
           xsi:schemaLocation="
           		http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">

	<bean id="InfometricClient" class="org.notima.camel.infometric.InfometricClient" />

	<camelContext id="InfometricRoutes" xmlns="http://camel.apache.org/schema/blueprint">

		<!-- 
			Expected headers
			
			* productKey
			* unitPrice
			* invoiceLineText
			
			The CSV to be parsed is expected in the body		
		 -->

		<route id="SplitInfometricCSVFile" autoStartup="true">

			<from uri="direct-vm:splitInfometricCSVFile" />

			<bean ref="InfometricClient" method="convertBillingFileToOrderInvoices" />

		</route>


	</camelContext>

</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy