4 Replies Latest reply on Jul 29, 2009 1:55 AM by arjun purushothaman

    Runtime parameters to providers in jboss-esb.xml file

    arjun purushothaman Newbie

      Hi All,

      I want to know whether is it possible to pass parameters to "Provider" configuration in jboss-esb.xml at runtime. Something like given below.

      <ftp-provider name="FTPProvider"
       hostname="localhost">
       <ftp-bus busid="FTPProviderbusid">
       <ftp-message-filter username="root"
       password="root"
       passive="false" directory="/Source/"
       input-suffix=".xml"
       work-suffix=".esbInprocess"
       post-delete="false"
       post-suffix=".COMPLETED"
       error-delete="false"
       error-suffix=".HAS_ERROR" />
       </ftp-bus>
       </ftp-provider>


      I want to change the values of hostname, username and password at runtime. i don't want to hard code those values;instead some place holders kind of..

      Regards,
      Arjun