1 Reply Latest reply on Oct 13, 2008 10:49 PM by manoj_paa

    dynamically changing FTP Provider

      How can I change the FTP Provider at runtime?

      My requirement is that I want to read the ftp server details from database and instantiate this provider, if someone changes the parameters in database, I should be able to modify ftp provider accordingly.

        • 1. Re: dynamically changing FTP Provider

          I found a couple of solutions to this -

          One solution is to use some DOM parser and modify this node and save it. Once saved, that esb service will be relaunched automatically.

          Second approach is to use xbean API provided by jboss and then you can write the same code in much more systematic manner.

          I thought it would be useful to others so posting it here.