4 Replies Latest reply on Oct 8, 2014 2:40 PM by jorgemoralespou_2

    Can I stop dynamically one binding depending on property value?

    maciekdeb

      Let's assume I've got 2 ftp bindings in my Service.

      Can I programaticaly choose whiche one will be needed after switchyard app will be deployed?

      What I need is to make one SY implementation and then depending on for example property file - stop unused bidings.

       

      <interface.java interface="some.package.InboundService"/>

           <ftp:binding.ftp name="first-binding">

           </ftp:binding.ftp>

           <ftp:binding.ftp name="second-binding">

           </ftp:binding.ftp>

      </service>