Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3677

JMS: Support Properties/SpEL in container-class

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.2 M1
    • Component/s: JMS Support
    • Labels:

      Description

      Also see SPR-12817

      Even placeholders don't work in this case because the message-driven adapter parser registers the container bean with a generated bean name...

      ${container.class}#0

      ...before the class is resolved from the placeholder but when resolving the constructor arg we look it up with classname#0 which is not a registered bean.

      Consider resolving by making the container's bean name (when defined via the container-class ) based on the adapter id instead of the container-class attribute value.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: