The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

haytog (1) [Avatar] Offline
#1
Its mentioned in the book

"Servicemix can't always determine the name of the file to use when uploading........ if the message, originates from a JMS queue the orginal filename isn't known. In that case, Servicemix will use the uniqueFileName property to create a new filename"

I have tried creating a FTP straight from a JMS queue, I get an exception thrown

java.io.IOException: No output stream available for output name: null. Maybe the file already exists?

If I follow the example I have no problems with a file poller to FTP. I would like to follow the process of JMS -> FTP as mentioned.

Is there anything else that needs to be set other than what is mentioned, is this a known issue or have any pointers in order to overcome this issue ?

thanks
Chris
tijs.rademakers (494) [Avatar] Offline
#2
Re: Servicemix FTP connectivity p234 JMS to FTP
Hi Chris,

This is something you probably better ask on the ServiceMix mailing list. The issue is that the JMS message is not transformed to a FTP message in the right way. With this kind of exceptions you often end up debugging ServiceMix to see where the exception orginates from. But this is not an easy job. So the mailing list of ServiceMix is probably the best starting point.

Best regards,

Tijs