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

Add note about spring-boot and TypeConverter file in camel docs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.18.4, 2.19.0
    • None
    • documentation
    • None
    • Unknown

    Description

      Documentation for camel TypeConverter suggests two alternatives for file
      META-INF/services/org/apache/camel/TypeConverter

      First is to use package name

      com.foo
      com.bar
      

      second is to use FQN

      com.foo.MyConverter
      com.bar.MyOtherConverter
      com.bar.YetOtherConverter
      

      They both work for deployment in Apache Karaf container,
      but the first one causes issues in deployment with spring boot.
      See

      I think it would be useful to include note about package scan and spring-boot issues in the docs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ludvicekj Josef Ludvíček
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: