camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From falvarez <falva...@ancap.com.uy>
Subject Re: ActiveMQ . Message Endpoint
Date Fri, 25 Jun 2010 14:05:25 GMT

When i put de following code into my applicationcontext 
		<route>
			<from uri="direct:exec" /> 
			<to uri="exec:c:/creo.bat" /> 
		</route>
and run de ActiveMQ de app jump to the following error

ERROR | Context initialization failed
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
exec:///c:/creo.bat due to: No component found with scheme: exec

i have two question: 
why i have to write "direct:exec" and not "activemq=mytestqueue"
and
it's ok put "to uri" into de route??



-----
Todos somos muy ignorantes. Lo que ocurre es que no todos ignoramos las
mismas cosas.
-- 
View this message in context: http://camel.465427.n5.nabble.com/ActiveMQ-Message-Endpoint-tp489670p511341.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message