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

Example in documentation for 7.1.4 Namespace Support - AOP Advice chains is invalid

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2.6, 3.0.6, 4.0.6, 4.1.1
    • Fix Version/s: 4.1.2, 4.0.7
    • Component/s: Documentation
    • Labels:

      Description

      The example in section "7.1.4 Namespace Support - AOP Advice chains" is

      <int:service-activator id="advicedSa" input-channel="goodInputWithAdvice" ref="testBean"
          method="good" output-channel="output">
        <int:poller max-messages-per-poll="1" fixed-rate="10000">
          <int:transactional transaction-manager="txManager" />
           <int:advice-chain>
            <ref bean="adviceA" />
            <beans:bean class="org.bar.SampleAdvice"/>
          </int:advice-chain>
        </int:poller>
      </int:service-activator>
      

      but the XSD has a choice between either transactional and advice-chain. This is documented in Appendix B.1.1, but the example needs to be corrected since it is misleading. I checked in 2.2.6, 3.0.6, 4.0.6 and 4.1.1 and it was still there.

      The configuration section should probably mention that they are mutually exclusive as well.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            cwrm Andy Harris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: