I am currently learning how to use servicemix and not sure how I would achieve the following.
I have a message placed on a JMS Queue and want to post a message to a defined email address than a message has been recieved. I also then want to ftp this message as a simple file. I am able to pull this message off the JMS queue and do things with it as long as all it is a XML message. The problem I have is when I want to convert to something else such as a email or a file to FTP. I had intended to write a JMS consumer and then pass to an EIP component which then delivered it to both the ftp and email components. When I try sending the message as ftp I get a java.io.IOException: No output stream available for output name: null. Maybe the file already exists? I assume this is because I never had a filename from the begining as I am working with a XML message rather than a file that's been read in. For example if I switch to a File poller and can then FTP fine. My question is what approach should I use to take a XML message from a queue convert it to a file to ftp and then also how to convert to send via email. Any help, no matter how small is gratefully recieved Thanks Chris -- View this message in context: http://www.nabble.com/Approach-to-use-for-XML-to-FTP-and-XML-to-Email-tp21667383p21667383.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
