No, no, that was my convertBodyTo() statement that uses a custom TypeConverter which itself used the SimpleDateFormat class, which is not threadsafe... All my fault. I replaced it with JodaTime and it works fine now.
Xavier On Wed, Feb 9, 2011 at 12:20 PM, Claus Ibsen <[email protected]> wrote: > On Tue, Feb 8, 2011 at 8:51 PM, Xavier Coulon <[email protected]> wrote: > > Damn', I should have seen it. > > Thank you, Richard. > > > > Maybe report an issue at the flatpack project. > > > > Regards, > > Xavier > > > > On Tue, Feb 8, 2011 at 7:56 PM, Richard Kettelerij < > > [email protected]> wrote: > > > >> > >> As you can see from the stacktrace a SimpleDateFormat is used under the > >> hood. > >> SimpleDateFormat isn't thread safe. > >> -- > >> View this message in context: > >> > http://camel.465427.n5.nabble.com/Problems-with-multiple-threads-on-FlatPack-component-tp3376267p3376393.html > >> Sent from the Camel - Users mailing list archive at Nabble.com. > >> > > > > > > > > -- > > Xavier > > > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: [email protected] > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ > -- Xavier
