camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preben.Asmussen" <p...@dr.dk>
Subject Re: ThreadPoolProfile and multicast
Date Wed, 29 Feb 2012 08:45:49 GMT
Ahh - Got it working. I actually have to set defaultProfile equals ="true". I
don't know this seems odd as I wanted to have a custom profile.

<camelContext id="dalet-bcr-in-Context"
xmlns="http://camel.apache.org/schema/spring">
		<threadPoolProfile defaultProfile="true" id="multicastThreadPoolProfile"
poolSize="5" maxPoolSize="5"/>
		
		<route id="dalet-timer-route">
			<from
uri="timer:trackplayed?fixedRate=true&amp;period=30000&amp;delay=30000" />
			<onException>
				<exception>org.apache.camel.CamelExchangeException</exception>
				<handled><constant>true</constant></handled>
				<log message="CamelExchangeException occured : One route seems not to be
started" loggingLevel="WARN"/>
			</onException>
			<multicast shareUnitOfWork="false" parallelProcessing="true"
stopOnException="false" executorServiceRef="multicastThreadPoolProfile">
				<to uri="direct:dalet13a"/>
				<to uri="direct:dalet13b"/>
				<to uri="direct:dalet13c"/>
				<to uri="direct:dalet15a"/>
				<to uri="direct:dalet15b"/>
				<to uri="direct:dalet15c"/>
				<to uri="direct:dalet3a"/>
				<to uri="direct:dalet3b"/>
				<to uri="direct:dalet5a"/>
				<to uri="direct:dalet7a"/>
				<to uri="direct:dalet7b"/>
				<to uri="direct:dalet7c"/>
				<to uri="direct:daletAFV"/>
			</multicast>
			<log loggingLevel="TRACE" message="Processing of all destinations
finished"/>
		</route>

... subroutes.

--
View this message in context: http://camel.465427.n5.nabble.com/ThreadPoolProfile-and-multicast-tp5524245p5524379.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message