camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsvalerio <>
Subject How to Use exclusiveReadLockStrategy property in file component?
Date Sun, 04 Jul 2010 16:38:06 GMT

Camel 2.2.0.

Property value:

This class extends FileChangedExclusiveReadLockStrategy, 

Get the erro, when start camel:
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
resolve endpoint:
due to: Could not find a suitable setter for property:
exclusiveReadLockStrategy 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:
org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy with
value my.package.definition.AppFileChangedExclusiveReadLockStrategy

I try to define a field exclusiveReadLockStrategy of type
AppFileChangedExclusiveReadLockStrategy in my route class (RouteBuilder son)
but the erro persist.

Thanks in advance.

Rodrigo Valerio.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message