2 Replies Latest reply on Jul 26, 2009 12:33 PM by davsclaus

    how to set route to a file or directory?

    aboyz

      Hi,

       

      I searched and couldn't find the command to route message to a file or directory? anyone know the correct syntax?

       

       

       

      I don't think it is the correct syntax. 

       

      What I want is to write message to a file directory structure. How would I do that?

       

      thanks..

        • 1. Re: how to set route to a file or directory?
          aboyz

          Ok i got it output to a directory and file.. But i'm getting this error when trying to create some text file in that directory.

           

           

           

           

          # INFO  TransportConnector             - Connector vm://localhost Started

          WARN  DefaultTypeConverter           - Overriding type converter from: InstanceMethodTypeConverter: public java.lang.String org.apache.camel.converter.jaxp.XmlConverter.toString(javax.xml.transform.Source) throws javax.xml.transform.TransformerException to: StaticMethodTypeConverter: public static java.lang.String org.apache.camel.converter.IOConverter.toString(javax.xml.transform.Source) throws javax.xml.transform.TransformerException,java.io.IOException

          INFO  TransportConnector             - Connector vm://localhost Stopped

          • 2. Re: how to set route to a file or directory?
            davsclaus

            Its not an ERRROR but only a WARN. Camel works fine.

             

            It was a duplicate type converter that we have fixed later by removing one of the duplicated ones in a later release.

             

            So you should just disregard it. Its only logged at startup.