camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-3746) register a customized typeconverter in Spring
Date Thu, 03 Mar 2011 03:37:36 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001851#comment-13001851
] 

Willem Jiang commented on CAMEL-3746:
-------------------------------------

Hi Edison,

Just one more comment of this issue. 

Can you try to start a discussion in the camel-user (users@camel.apache.org) first? 
We don't want to bring the Camel JIRA into a support question lists, as most our JIRA should
be linked back to a code commit.
Please use the mailing list first and fill a JIRA if we feel it necessary.  

Willem

> 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

        

Mime
View raw message