Hi, The parameter is not fixedDelay but consumer.useFixedDelay and may only be applied to a JPA consumer
Check out the following link for valid options http://camel.apache.org/jpa.html http://camel.apache.org/jpa.html Cheers, Ashwin... vcheruvu wrote: > > Hi, > > I am using Camel JPA 2.2.0 to poll records every 3 seconds. I have added a > userFixedDelay=true parameter in the URI and it keeps complaining it is > not correct. I have checked your website and it has userFixedDelay option. > I have tried different parameters as shown below. Any idea how to set > userFixedDelay=true in the jpa URI? > > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to > resolve endpoint: > jpa://com.com.myEntity?consumeDelete=false&consumeLockEntity=false&consumer.query=select+x+from+com.myEntity+x+where+x.processed%3D0&delay=3000&fixedDelay=true&maximumResults=1000 > due to: There are 1 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=[{fixedDelay=true}] > at > org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:131) > at > org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:94) > at > org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:425) > ... 32 more > > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to > resolve endpoint: > jpa://com.myEntity?consumeDelete=false&consumeLockEntity=false&consumer.query=select+x+from+com.myEntity+x+where+x.processed%3D0&delay=3000&maximumResults=1000&userFixedDelay=true > due to: There are 1 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=[{userFixedDelay=true}] > at > org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:131) > at > org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:94) > at > org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:425) > ... 32 more > > Regards, > -Vid- > ----- --- Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence Progress Software Corporation 14 Oak Park Drive Bedford, MA 01730 --- +1-972-304-9084 (Office) +1-972-971-1700 (Mobile) ---- Blog: http://opensourceknowledge.blogspot.com/ -- View this message in context: http://old.nabble.com/Camel-JPA-parameters---userFixedDelay-issue-tp27714079p27714183.html Sent from the Camel - Users mailing list archive at Nabble.com.
