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-
--
View this message in context:
http://old.nabble.com/Camel-JPA-parameters---userFixedDelay-issue-tp27714079p27714079.html
Sent from the Camel - Users mailing list archive at Nabble.com.