1 Reply Latest reply on Mar 16, 2011 2:47 AM by starfish15

    Filter Question on JBoss ESB

    starfish15

      Hi,

       

      I just created a successful ESB using the File System as the File Gateway Provider. The provider basically polled a directory on my machine for test files. I was able to see a successful Action for the service. Hence it was proved that the ESB instantiation was successful.

       

      However i found something and didnt understand why did the same happen. Since i had used the File System and created a simple text file, this file after being read was no longer available in the file system. Is it that once the provider has ben read, it gets deleted automatically??? I understand that its dependent on the filter. Because i had mentioned the file system and the input suffix there. So i beleive the Post Delete function in the filter is by default set to True.

       

      Kindly confirm my undertsanding.

       

      Regards,

      Starfish

        • 1. Filter Question on JBoss ESB
          starfish15

          So i tried doing this and came to the conclusion that it does work that ways. So archiving is taken care of by the Post Delete Filter. What was the BEST part that i found was that the archived file has a Suffix as esbDone, thus portraying that this file has travelled through the ESB and has been routed to the archive folder. Though i do find there an option of modifying the post suffix as well. Hence i beleive this can be modified according to the requirements. Amazing thing done by the JBOSS guys. KUDOS JBoss Team.

           

          Thus, I beleive even the Error handling will also work further as expected using the filters.

           

          I am LOVING this.

           

          Regards,

          Starfish

          1 of 1 people found this helpful