I am currently trying to upgrade from camel-bindy-2.12.1 to camel-bindy-2.16.2 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 (Camel Spring DSL):
<bean id="bindyFixedLengthDataformat" class="org.apache.camel.dataformat.bindy.fixed.BindyFixedLengthDataFormat">
<constructor-arg value="com.sample.package" />
</bean>
and then reference the bean when marshaling:
<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.12.1 but the constructor above is no longer available with camel-bindy-2.16.2.
I have been unable to find any examples that would achieve the same functionality with the removed constructor.
Has anyone come across this situation? If so, any suggestions/examples would be greatly appreciated.
Thank you