register a customized typeconverter in Spring
---------------------------------------------
Key: CAMEL-3746
URL: https://issues.apache.org/jira/browse/CAMEL-3746
Project: Camel
Issue Type: Wish
Components: camel-spring
Affects Versions: 2.4.0
Environment: WIN XP, JDK 1.5
Reporter: edison zhou
Fix For: 2.4.0
Can I register a customized typeconverter in spring xml? Now I just use below
code.
CamelContext context = new DefaultCamelContext();
context.getTypeConverterRegistry().addTypeConverter(InputStream.class,
String.class, new StringToInputStreamConverter());
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira