Hi

If you deploy as WAR etc then you need to setup that jboss classloader
http://camel.apache.org/how-do-i-run-activemq-and-camel-in-jboss.html
http://camel.apache.org/camel-jboss.html

Bindy still requires this but we have a ticket to remove this need,
but this requires unfortunately a bit more work.
And as bindy works well on tomcat / jetty etc then its less people
having this trouble.

On Fri, Apr 17, 2015 at 5:07 AM, sanjay.gautam <sanjay.gau...@gmail.com> wrote:
> HI Guys were you able to solve this problem , this problem is still lurking
> in camel code and now I am facing on the wildfly fly 8.2.0Final and also it
> doesn't work on other JBoss versions.
> Please let me know if you guys have any solution '
>
> Stacktrace
> ---------------------------------------------------------------------------------------------------------------------------------------:
> java.lang.IllegalArgumentException: The separator h
>  not been defined in the annotation @CsvRecord or not instantiated during
> initModel. must be specified
>         at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:293)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.unmarshal(BindyCsvDataFormat.java:137)
> [camel-bindy-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:67)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> [camel-core-2.15.0.jar:2.15.0]
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
> [camel-core-2.15.0.jar:2.15.0]
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:433)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:211)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:175)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
> [camel-core-2.15.0.jar:2.15.0]
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> [rt.jar:1.7.0_71]
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/A-little-problem-with-annotation-CsvRecord-tp5728109p5765883.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/

Reply via email to