camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From /U <uma...@comcast.net>
Subject ResolveEndpointFailedException with a file endpoint
Date Tue, 05 Jan 2010 06:21:41 GMT

I have a simple route transferring contents of files
in a folder to a JMS queue:


        <camelContext
xmlns="http://activemq.apache.org/camel/schema/spring">
		<route>
              <from
uri="file:///ftp/data/in.txt/?useFixedDelay=true&amp;delay=1000&amp;"/>
              <to uri="jms:queue:mytopic.publish"/>
            </route>
	</camelContext>

When I start the context, it fails with the exception shown below. 
why these parameters are not recognized? please help!

  	
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
file:///ftp/data/in.txt/?useFixedDelay=true&delay=1000& due to:
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
file:///ftp/data/in.txt/?useFixedDelay=true&delay=1000& due to: There are 2
parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint.
Unknown parameters=[{useFixedDelay=true, delay=1000}]
	at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:351)
        //...

/U
-- 
View this message in context: http://old.nabble.com/ResolveEndpointFailedException-with-a-file-endpoint-tp27024218p27024218.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message