camel-users mailing list archives

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

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
<stream name="employeeFile" format="csv">
<record name="employee" class="java.util.LinkedHashMap">

thanks a lot for your suggestions



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message