camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martin11 <mato.kraj...@gmail.com>
Subject Re: Component singleton for all routes
Date Thu, 21 Aug 2014 08:48:12 GMT
There is my test context:

<camel:camelContext id="myContext">
	<camel:endpoint id="ldapx" uri="mycomponent:ldapServer?operation=safeAdd"/>

	<camel:route id="test1">
		<camel:from uri="timer://test1?fixedRate=true&amp;period=1s"/>
		<camel:setBody>
			<camel:constant>THREAD-1</camel:constant>
		</camel:setBody>
		<camel:to ref="ldapx"/>
	</camel:route>

	<camel:route id="test2">
		<camel:from uri="timer://test2?fixedRate=true&amp;period=1s"/>
		<camel:setBody>
			<camel:constant>THREAD-2</camel:constant>
		</camel:setBody>
		<camel:to ref="ldapx"/>
	</camel:route>
</camel:camelContext>



--
View this message in context: http://camel.465427.n5.nabble.com/Component-singleton-for-all-routes-tp5755446p5755477.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message