Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-813

Cannot use jms MessagePostProcessor support with WebServiceMessageDrivenBean

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.3
    • Component/s: Core
    • Labels:
      None

      Description

      The MessagePostProcessor can be injected into JmsMessageReceiver but in the WebServiceMessageDrivenBean, the JmsMessageReceiver instance field is private, has no setter, and is instantiated in the onEjbCreate() via a direct call to the constructor (no IOC support)

      The only workaround is to subclass JmsMessageReceiver, rename and change the visibility of handleMessage() method and rewrite via subclass the onEjbCreate() method of WebServiceMessageDrivenBean to inject the MessagePostProcessor

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            mengugu Guillaume Menguy
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: