Hi Ravi, Have you tried to use the camel bindy "module" instead of packaging all the deps within the war file ( http://wildflyext.gitbooks.io/wildfly-camel/content/components/camel-bindy.html, http://wildflyext.gitbooks.io/wildfly-camel/content/start/index.html) ?
Regards, On Mon, Apr 13, 2015 at 7:34 PM, RaviP <ravikumar-penume...@hotmail.com> wrote: > I'm facing the similar issue with my war. I'm using wildfly 8.2.0 & Camel > 2.14.1. My route uses bindy to unmarshal csv to domain object. Junits are > working & war deployed on tomcat also works. > > I'm getting the following exception when i deploy the war on wildfly 8.2.0 > > java.lang.IllegalArgumentException: The separator has not been defined in > the annotation @CsvRecord or not instantiated during initModel. must be > specified. > > I see that a solution recommended was to use PackageScanClassResolver. > > Can you please tell me how to do that incase of wildfly ? Do i've to add > additional dependencies. > > thanks > Ravi. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5765711.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io