2 Replies Latest reply on Apr 2, 2009 6:58 AM by cedricrathgeb

    Defining fs - listener on input files without any suffix

    garuda


      Hello to all,

      as I understood so far, the fs - listener only filters on file suffix.
      Is it possible to listen for files that have no extensions ?

      I already tried some things (without modifing any code) proposed in some forum postings, but nothing worked (e.g. input-suffix=" ", leaving input-suffix at all etc.).

      Any ideas?

      Best regards,

      Dennis

        • 1. Re: Defining fs - listener on input files without any suffix
          tfennelly

          Sorry... not possible with the current implementation of the Flie Listener.

          • 2. Re: Defining fs - listener on input files without any suffix

            Hi Garuda,

            input-suffix with an empty string has worked in my tests (JBoss AS 4.2.3 & ESB 4.5) for files without extensions. But configuring it that way will consume files with an extension too (so you shouldn't use the same input directory).

            In the Programmer's guide about the FTP Listener configuration (page 86) you can read :

            input-suffix :
            The file suffix used to filter files targeted for
            comsumption by the ESB (note: add the dot,
            so something like '.esbIn'). This can also be
            specified as an empty string to specify that
            all files should be retrieved.