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

A 'poller' element that provides a 'ref' must have no other attributes.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.5
    • Component/s: Core
    • Environment:
      win 7, sts

      Description

      Referencing an inner poller definition to an outer poller results in the sts complaining
      "A 'poller' element that provides a 'ref' must have no other attributes."

      and at runtime
      Configuration problem: A 'poller' element that provides a 'ref' must have no other attributes.

      sample code to reproduce

      <int-jdbc:inbound-channel-adapter channel="tablePoller"  
      	query="select * from abc.rtable where service_status = 'start' and service = 'aService'"
       	data-source="dataSource">
      		<int:poller ref="somePoller"></int:poller>
      	</int-jdbc:inbound-channel-adapter>
      	<int:poller id="somePoller" fixed-rate="10000">
      			<int:transactional/>
      	</int:poller>
      </beans>
      

        Attachments

          Activity

            People

            • Assignee:
              grussell Gary Russell
              Reporter:
              anshumania anshuman mehta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: