Hi Glenn See the updated wiki with samples and gotchas for setting the filename when producing files (writing files)
http://activemq.apache.org/camel/file.html Notice: the wiki sync does take a few hours to push through. Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: Claus Ibsen [mailto:[EMAIL PROTECTED] Sent: 14. maj 2008 14:18 To: [email protected] Subject: RE: Having a web service automatically activate when data is placed into a queue Yes I think we need to document it much better how Camel handles this file/folder stuff when its - consuming files - producing files It's a bit confusing when Camel uses the unique message id for filename instead of the path from the URI. I have created a ticket CAMEL-514 Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: 14. maj 2008 13:22 To: [email protected] Subject: RE: Having a web service automatically activate when data is placed into a queue 2008-05-13 Claus Ibsen wrote: > Hi > > Just a quick reply on the file naming in the route. Am at work so I have > other duties as well ;) > > > The Camel file component is defaulting to interpret the file URI as a > directory name and use a Camel autogenerated filename in that folder. OK, then the Camel guide[1] which says: "Where fileName represents the underlying file name" at the top is not correct and confusing, it is really referring to the root directory where the subsequent files will be placed. I'll update the guide when I get back from work if no one else does. Thanks, Glen [1] http://activemq.apache.org/camel/file.html
