No I still think camel-bindy uses the package scanning and requires that camel-jboss module.
Though though we should IMHO make it possible with camel-bindy for you to define the FQN of the model classes you use, so Camel dont need to scan packages. That would allow to use bindy with jobss (or potential other containers that has this issue) without camel-jboss module. Fell free to raise a JIRA ticket as AFAIR camel-bindy is the only last component that depends on this package scan functionality. On Fri, Sep 27, 2013 at 1:37 PM, Vlasta <vlas...@mail.ru> wrote: > I have similar problem. > Use camel-bindy component v2.11.0. > Out of the JBoss it works fine. > > When I try to run it on JBoss 7.1.1 I get the same error:: > > 15:08:47,836 DEBUG [org.apache.camel.dataformat.bindy.BindyAbstractFactory] > (DefaultQuartzScheduler-camel_Worker-1) Class name: com.mypackage.MyData > 15:08:47,837 DEBUG [org.apache.camel.impl.DefaultPackageScanClassResolver] > (DefaultQuartzScheduler-camel_Worker-1) Searching for annotations of > [interface org.apache.camel.dataformat.bindy.annotation.CsvRecord, interface > org.apache.camel.dataformat.bindy.annotation.Link, interface > org.apache.camel.dataformat.bindy.annotation.Message, interface > org.apache.camel.dataformat.bindy.annotation.Section, interface > org.apache.camel.dataformat.bindy.annotation.FixedLengthRecord] in packages: > [com.mypackage] > 15:08:47,841 DEBUG [org.apache.camel.impl.DefaultPackageScanClassResolver] > (DefaultQuartzScheduler-camel_Worker-1) Cannot read entries in url: > vfs:/C:/jboss/bin/content/exampleEAR.ear/mydata.jar/com/mypackage/: > java.io.FileNotFoundException: > C:\jboss\bin\content\exampleEAR.ear\mydata.jar\com\mypackage (The system > cannot find the path specified) > at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_10] > > Is it possible to use camel-bindy without camel-jboss component? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/PackageScan-Activiti-Spring-tp5736475p5740289.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