I added a new NotifyFTP class (based on work that Rex did a while back) which allows a
message to be relayed to an external FTP server. For now, it does not use a provider, but
instead mocks up an FTPEpr and sends the file via RemoteFileSystem. The outgoing filename
can be built using message properties so that the filename is unique. For instance:
| <NotificationList type="OK"
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc...
| <target class="NotifyFTP">
| <ftp URL="ftp://user:pwd@myserver.com/home/test"
filename="{jbossesb.message.id}.txt"/>
| </target>
| </NotificationList>
|
... will send the message contents to the the
myserver.com server in the /home/test
directory. The remote file will have the value for the 'jbossesb.message.id'
property substituted as part of the filename.
Hope this is useful,
Derek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036826#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...