You can either configure your FTP poller in the main servicemix.xml configuration file, in which case, you will need to restart the JBI container in order to make changes to your configuration. You can also do it at runtime, by deploying a service unit to the lwcontainer component. The SU should have a servicemix.xml configuration file as shown in the examples of the distribution. The SU need to be packaged in a service assembly (SA) and deployed to the container, using hotdeploy (just copy it in the /deploy dir) or using jmx (via jconsole, ant tasks or jbi maven plugin).
On 10/6/06, moraleslos <[EMAIL PROTECTED]> wrote:
Hi, I'm trying to FTP a file from an external source to my machine using the "Polling for Files" example shown here: http://servicemix.org/site/ftp.html Seems like in order to get this working, I need to put this configuration in the servicemix.xml file that is then used during ServiceMix startup. From what I'm understanding, this type of configuration is "embedded". How could I get this working in a JBI-like way, i.e. hot-deployed to the servicemix-lwcontainer? Can I just use the FTPPoller as is or must I create a service unit/assembly in combination with the FTPPoller in order to make it a JBI component? Thanks in advance. -los -- View this message in context: http://www.nabble.com/ftp-deployed-not-using-static-config-tf2397925.html#a6686830 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet
