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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.7
    • Fix Version/s: 3.2.8, 3.3.0
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: