L.S.,
I am trying to build an application which:
- polls several FTP servers for XML files
- transfers these files to a single (other) FTP server
- saves a copy of the files transferred in an archive directory
I had a working solution for the FTP transfers, using a simple xbean.xml
file in a single SU (containing only <ftp:sender/> and <ftp:poller/>
elements). To make the archiving work, I added two SUs to my SA:
- one SU, containing a <file:sender /> to save the file to the archive
directory
- one SU, containing an <eip:wiretap/> to enable saving the file while
sending it to the other FTP server
Now, the FTP poller does it's job, but when it encounters an XML file, I
get these messages:
ServiceName ({http://www.javafresh.eu/servicemix}achive-wiretap-in)
specified for routing, but can't find it registered
Failed to process file: /in/<name of file>.xml. Reason:
javax.jbi.messaging.MessagingException: Could not find route for
exchange: ...
I already added a META-INF/jbi.xml file to every SU zip file, containing
a <services/> element with <provides/> and <consumes/> elements for the
'services' contained in and required by every SU.
What am I missing here?
Gert