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

Remove duplicate type converter methods from HBaseModelConverter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.18.5, 2.19.3, 2.20.0
    • camel-hbase
    • None
    • Unknown

    Description

      When the camel-hbase component is used the following log messages are observed:

      11:16:32,852 WARN  [org.apache.camel.impl.converter.DefaultTypeConverter] (pool-3-thread-1) Overriding type converter from: StaticMethodTypeConverter: public static byte[] org.apache.camel.converter.IOConverter.toByteArray(java.lang.String,org.apache.camel.Exchange) throws java.io.IOException to: StaticMethodTypeConverter: public static byte[] org.apache.camel.component.hbase.converter.HBaseModelConverter.stringToBytes(java.lang.String)
      11:16:32,852 WARN  [org.apache.camel.impl.converter.DefaultTypeConverter] (pool-3-thread-1) Overriding type converter from: StaticMethodTypeConverter: public static java.lang.String org.apache.camel.converter.IOConverter.toString(byte[],org.apache.camel.Exchange) throws java.io.IOException to: StaticMethodTypeConverter: public static java.lang.String org.apache.camel.component.hbase.converter.HBaseModelConverter.bytesToString(byte[])
      

      I know these can effectively be ignored, but it is a little annoying. Can we clean up the duplicate @Converter methods?

      Attachments

        Issue Links

          Activity

            People

              jamesnetherton James Netherton
              jamesnetherton James Netherton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: