Hi Yeah but then you would need to use a content based router to route to appropiate data format.
You may get it working inside the processor if you call .start on the data format before using it. And also remember to call .setCamelContext on it to do the initialization manually. And then call .stop after usage. On Wed, Apr 8, 2015 at 11:11 AM, gargankur007 <gargankur...@gmail.com> wrote: > Hi Claus > > Is it possible if I can define the formats as Spring beans and then > depending upon headers use a particular format to cater/handle the CSV > payload > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/BeanIODataFormat-giving-exception-in-OSGI-compliant-Karaf-Server-Camel-tp5765404p5765474.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/