camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rishabhtulsian <>
Subject Re: Problem using include with regexp
Date Sun, 09 Aug 2015 02:51:15 GMT
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.


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

View raw message