Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-3746

register a customized typeconverter in Spring

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.4.0
    • 2.4.0
    • camel-spring
    • WIN XP, JDK 1.5

    Description

      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());

      Attachments

        Activity

          People

            njiang Willem Jiang
            homine1985 edison zhou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified