Ah, you are using Camel inside of ActivemMQ.
Please make sure you put the camel-exec jar which is not shipped with ActiveMQ in you class path, otherwise you will get the below exception.


Willem
----------------------------------
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang

falvarez wrote:
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.

Reply via email to