camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele <michele.mazzi...@finconsgroup.com>
Subject Re: How to validate Body Content in Map Object
Date Wed, 16 Mar 2016 16:15:48 GMT
Hi, 

i will manage different file (txt/csv/fixed-length) where each of them has a
different structure and criterions of validation (ex. type of data (string,
date, numeric), max length, is valid date by pattern...). 

Both solutions are good, XML version of some validation using the simple
language or CustomValidator.
Probably i will use a CustomValidator driven a custom xml configuration.

I have seen beanio and the question is: Is this a valid xml configuration
file? 
<stream name="employeeFile" format="csv">
<record name="employee" class="java.util.LinkedHashMap">

thanks a lot for your suggestions

Greetings

Michele








--
View this message in context: http://camel.465427.n5.nabble.com/How-to-validate-Body-Content-in-Map-Object-tp5779118p5779167.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message