2008/7/17 cmoulliard <[EMAIL PROTECTED]>: > > Hi Claus, > > If I remove from the route the .convertBody(Map.class) and that I create a > processor to display the result. I can see all the rows (including also the > trailer) except the first which is the trailer when I parse a > fixedlengthwithheaderandtrailer file. From my point of there is a bug. > > The flag that you mention is only used when you process a delimited file > (=csv). In my case, this one is not used because we are working with a > fixedlength file including a header + trailer. > > To clarify the situation, it should be interesting that we can use a flag to > inform the flatpack component that we want to generate one message/row > defined in the incoming file. Otherwise, the user will be dependent of the > component behavior. In certain cases, it makes sense to generate one message > / row but in another situation not at all because the client wants that we > process in one thread its file. Moreover, when the file contains a > header/trailer flatpack will map them too (using the record trailer/header) > defined in the xxxx.pzm.xml configuration file. > > I will to try to prepare a unit test. How can I provide it to the project ?
Here's how to contribute... http://activemq.apache.org/camel/contributing.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
