camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uemit2705 <uemit2...@googlemail.com>
Subject Re: Issue during concurrent inOut Queue Call
Date Thu, 25 Oct 2012 10:13:23 GMT
calling route in ctxXyzProcessing looks like:

<cml:route id="route1">
	<cml:from uri="jms:queue:....out?concurrentConsumers=5" />
                         
                        <cml:setBody>
				<cml:simple>${in.header.saveTableMessage}</cml:simple>
			</cml:setBody>
			<cml:bean ref="uploadMessageConverter" method="tableMessage" />
			<cml:to uri="jms:queue:upload.proc.inout?requestTimeout=9000000"
pattern="InOut" />
                        <cml:removeHeaders pattern="save*" />
        <cml:to uri="jms:queue:....finished.out" />
</cml:route>

inner route in ctxFileUpload looks like:

<cml:route id="uploadProcessingInOut" autoStartup="true">
			<cml:from uri="jms:queue:upload.proc.inout?concurrentConsumers=8" />
			<cml:bean ref="fileUploadProcessor" method="onMessage" />
			<cml:setHeader headerName="uploadProcessingInOut">
				<cml:constant>SUCCESS</cml:constant>
			</cml:setHeader>
</cml:route>








--
View this message in context: http://camel.465427.n5.nabble.com/Issue-during-concurrent-inOut-Queue-Call-tp5721540p5721542.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message