Looks like a bug to me. By default all components encode the URI string for
the endpoint
public boolean DefaultComponent::useRawUri() {
// should use encoded uri by default
return false;
}
The FileComponent does not override it.
In GenericFileConsumer::isMatched method this code
if (!name.matches(endpoint.getInclude())) {
return false;
}
uses the encoded regex string and hence 'matches' returns false.
-rishabh
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-using-include-with-regexp-tp5770477p5770479.html
Sent from the Camel - Users mailing list archive at Nabble.com.