Embedding the Apache Mina ftp server in your tests

Every once in a while you need some service running while executing your integration tests. Today I needed a running FTP server to test a new route in my [JBoss ESB][0] that has a NotificationList (basically a recipient list pattern with a NotifyFTP action as last action in my action pipeline, that pushes the message as a file onto an FTP server. I already configured this notification target for a local FTP server during deployment, but I because I tried to create a chain of services which all modified the XML message going through my ESB I needed a way to verify the end result of that chain....

06. August 2013 ยท Carsten