2 Replies Latest reply on Jul 23, 2012 7:56 PM by Tom Cunningham

    Notifier

    Bala Voleti Newbie

      Hi,

      please see my configuration. I'm able to SFTP file from remote to my local machince without problem.

       

      if you see my provider i'm accepting all types of file and want to transfer same file to my local, can you please let me know how do i mention in my notifer to transfer same file with same name and type to my local. Thank you for you help in Adavance ... Bala

       

      <providers>

       

        <ftp-provider hostname="...." name="FTPProviderLAB11">

         <ftp-bus busid="LAB11ChannelID">

          <ftp-message-filter directory="/opt/sw/jboss/target/receive"

           input-suffix=".*" password="password" post-delete="true"

           post-rename="false" protocol="sftp" username="jboss"/>

         </ftp-bus>

        </ftp-provider>

      </providers>

      <services>

        <service category="SFTPToLocalCategory"

         description="Transfer file from SFTP server to your local box or remote box"

         invmScope="GLOBAL" invmTransacted="true" name="SFTPToLocalService">

         <listeners>

          <ftp-listener busidref="LAB11ChannelID" is-gateway="true" name="LAB11Listener"/>

         </listeners>

         <actions mep="OneWay">

          <action class="org.jboss.soa.esb.actions.Notifier" name="notificationAction">

           <property name="okMethod" value="notifyOK"/>

           <property name="destinations">

            <NotificationList type="ok">

             <target class="NotifyFiles">

              <file URI="E:\testing\done\Successful.pptx" append="false"/>

             </target>

            </NotificationList>

            <NotificationList type="err">

             <target class="NotifyFiles">

              <file URI="E:\testing\exception\Error.pptx" append="false"/>

             </target>

            </NotificationList>

           </property>

          </action>

         </actions>

        </service>

      </services>

      </jbossesb>