Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7908

Allow to customise JAXRS server in spring boot when using cxf-spring-boot-autoconfigure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.7
    • 3.2.8, 3.3.0
    • JAX-RS
    • None
    • Unknown

    Description

      when using cxf-spring-boot-autoconfigure (via cxf-spring-boot-starter-jaxrs) there is no way to customise JAXRS server when using component or class scan and with spring boot 2 the bean override is disable by default meaning it will throw an exception if there are multiple beans of the same type).

      Idea is to use 

      @ConditionalOnMissingBean(name = "jaxRsServerConfiguration")

      on the auto configuration to allow customisation. 

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              swiderski.maciej Maciej Swiderski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: