Camel fails to load the timer component in the following route
<camel:route errorHandlerRef="transactionErrorHandler">
<camel:from uri="timer:dm?period=2000"/>
<camel:to uri="bean:dmScheduler?method=getNewTransactions"/>
</camel:route>
Camel is configured as a war file which is being loaded into the JBoss
Application Server.
The following error is thrown while attempting to load the Camel Context
08:18:26,339 ERROR Exception sending context initialized event to listener
instance of class org.springframework.web.context.ContextLoaderListener
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
timer://dm?period=2000 due to: Could not find a suitable setter for
property: period as there isn't a setter method with same type:
java.lang.String nor type conversion possible: No type converter available
to convert from type: java.lang.String to the required type: long with value
2000
--
View this message in context:
http://old.nabble.com/Timer-fails-to-resolve-parameters-tp27161260p27161260.html
Sent from the Camel - Users mailing list archive at Nabble.com.