I am currently trying to upgrade from camel-bindy-2.11.0 to
camel-bindy-2.17.0 and am running into a problem when trying to apply a
model consisting of multiple classes to a data set resulting in a single
text file.

I had a number of classes in a package (com.sample.package) that I could use
for marshaling by using the following code:

<bean id="bindyFixedLengthDataformat" 
class="org.apache.camel.dataformat.bindy.fixed.BindyFixedLengthDataFormat">
    <constructor-arg value="com.sample.package" />
</bean>

Constructor: BindyFixedLengthDataFormat(String... packages) 

Marshal was done by referencing the bean:

<marshal ref="bindyFixedLengthDataformat" />

This bean call would apply all the classes in the package to the data being
marshaled resulting in a single file.

It worked great with camel-bindy-2.11.0 but the constructor above is no
longer available with camel-bindy-2.17.0

Has anyone come across similar problem and let me know how it was solved?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Marshaling-with-multiple-BindyFixedLengthDataFormat-models-camel-bindy-2-17-tp5791846.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to