Class SpringTypeConverter

java.lang.Object
org.apache.camel.support.TypeConverterSupport
org.apache.camel.spring.boot.SpringTypeConverter
All Implemented Interfaces:
org.apache.camel.TypeConverter

public class SpringTypeConverter extends org.apache.camel.support.TypeConverterSupport
  • Field Summary

    Fields inherited from interface org.apache.camel.TypeConverter

    MISS_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpringTypeConverter(List<org.springframework.core.convert.ConversionService> conversionServices)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    convertTo(Class<T> type, org.apache.camel.Exchange exchange, Object value)
     

    Methods inherited from class org.apache.camel.support.TypeConverterSupport

    allowNull, convertTo, mandatoryConvertTo, mandatoryConvertTo, tryConvertTo, tryConvertTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpringTypeConverter

      @Autowired public SpringTypeConverter(List<org.springframework.core.convert.ConversionService> conversionServices)
  • Method Details

    • convertTo

      public <T> T convertTo(Class<T> type, org.apache.camel.Exchange exchange, Object value) throws org.apache.camel.TypeConversionException
      Throws:
      org.apache.camel.TypeConversionException