是有Apache的骆驼的Bindy格式的通用地图策略? [英] is there a generic Map strategy for Apache Camel's Bindy format?

查看:142
本文介绍了是有Apache的骆驼的Bindy格式的通用地图策略?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有Apache的骆驼的 Bindy 数据格式元帅到/从一个内置或标准战略的java.util.Map S'从我所知道的,策略只能注释成这样的POJO某些Bean的属性映射到/从CSV字段。

Is there a builtin or standard strategy for Apache Camel's Bindy data format to marshal to/from java.util.Maps? From what I can tell, the strategy can only be annotated into POJOs such that certain Bean properties map to/from CSV fields.

骆驼的 CSV 数据格式支持从地图 S(它的键与CSV头和值符合CSV字段对应)。不幸的是,它依赖于Apache的共享CSV ,这仍然是的孵化并没有主动和不够成熟可靠。

Camel's CSV data format supports marshaling to/from Maps (whose keys correspond with CSV headers and values correspond with CSV fields). Unfortunately, it depends on Apache Commons CSV, which is still incubating and not yet active and mature enough to be reliable.

推荐答案

没有。 Bindy是从Java bean的结合/

No. Bindy is for binding to/from java beans.

您可以使用映射到地图结构,如骆驼CSV等组成,骆驼扁平。

You can use other components that maps to Map structures, such as camel-csv, camel-flatpack.

这篇关于是有Apache的骆驼的Bindy格式的通用地图策略?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆