Hello,

I have a problem with file component : I receive this message in the log for
each file :

Ignoring for unsupported file type file: \\Laptop\testing\OUT\bvbvb.xml

below my route :

<route streamCache="true" errorHandlerRef="myDeadLetterChannel">
                        <from
uri="file:///\\Laptop\testing\OUT?recursive=true&amp;readLock=changed&amp;autoCreate=true&amp;move=\\Laptop\testing\OUT\Process\&amp;moveFailed=\\Laptop\testing\OUT\Fail\&amp;maxMessagesPerPoll=5&amp;filter=#myAntFilter"/>
                        
                        <convertBodyTo type="java.lang.String"/>
                        <process ref="RemoveBomProcessor"/>
                        <to uri="activemq:queue:IN"/>
        </route>

<bean id="myAntFilter"
class="org.apache.camel.component.file.AntPathMatcherGenericFileFilter">
        <property name="includes" value="**"/>
    <property name="excludes" value="**/Process/**, **/Fail/**"/>
        </bean>

someone has an idea for this problem ? Thanks in advance,

Version of Camel : 2.1

Best regards,

titexe
-- 
View this message in context: 
http://old.nabble.com/File-Consumer-%3A-Ignoring-file-tp27833411p27833411.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to