FileExclusiveReadTest is failing
--------------------------------

                 Key: CAMEL-852
                 URL: https://issues.apache.org/activemq/browse/CAMEL-852
             Project: Apache Camel
          Issue Type: Test
          Components: camel-core
            Reporter: Jonathan Anstey
            Assignee: Jonathan Anstey
            Priority: Minor
             Fix For: 1.5.0
         Attachments: exclusiveReadTest.patch

Failing with this message
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: 
file://target/exclusiveread/slowfile?consumer.delay=500&consumer.exclusiveRead=true
 due to: There are 1 parameters that couldn't be set on the endpoint consumer. 
Check the uri if the parameters are spelt correctly and that they are 
properties of the endpoint. Unknown consumer parameters=[{exclusiveRead=true}]
at 
org.apache.camel.impl.ScheduledPollEndpoint.configureConsumer(ScheduledPollEndpoint.java:65)
at 
org.apache.camel.component.file.FileEndpoint.createConsumer(FileEndpoint.java:93)

Simple fix: exclusiveRead should be changed to exclusiveReadLock.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to