Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-7191

<mvc:annotation-driven / > should supports the attributes of setting customized HttpMessageConverter bean list

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0 GA, 3.0.1, 3.0.2
    • Fix Version/s: None
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Currently, the <mvc:annotation-driven / > doesn't allow the HttpMessageConverters be customizable (It is read-only in AnnotationDrivenBeanDefinitionParser).

      It is recommended to allow the MessageConverters be reference by external HttpMessageConverter beans list.

        Issue Links

          Activity

          Hide
          felthy Peter Feltham added a comment -

          This issue is the same as SPR-7091.

          I've commented there with a workaround and my preferred fix - auto-detection of HttpMessageConverter beans.

          Show
          felthy Peter Feltham added a comment - This issue is the same as SPR-7091 . I've commented there with a workaround and my preferred fix - auto-detection of HttpMessageConverter beans.
          Hide
          rstoya05-aop Rossen Stoyanchev added a comment -

          This issue should be resolved with the completion of SPR-7504.

          Show
          rstoya05-aop Rossen Stoyanchev added a comment - This issue should be resolved with the completion of SPR-7504 .

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              simonwg Simon Wong
              Last updater:
              Trevor Marshall
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 27 weeks ago