camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghavan83 <raghava...@yahoo.co.in>
Subject Marshaling with multiple BindyFixedLengthDataFormat models (camel-bindy-2.17)
Date Thu, 22 Dec 2016 05:47:16 GMT
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.

Mime
View raw message