You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/03/03 04:22:37 UTC

[jira] Resolved: (CAMEL-3746) register a customized typeconverter in Spring

     [ https://issues.apache.org/jira/browse/CAMEL-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-3746.
---------------------------------

    Resolution: Won't Fix
      Assignee: Willem Jiang

I'd like to close this issue, as this feature is already implemented by other ways.

> 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
>            Assignee: Willem Jiang
>              Labels: features
>             Fix For: 2.4.0
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> 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