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

ChannelInitializer Not Invoked in Time when using <context:mbean-export/>

    XMLWordPrintable

    Details

      Description

      Auto generation of channels fails when adding <context:mbean-export/> to config (when there is no <int-jmx:mbean-export/>. Appears to be because the mbean exporter causes beans (endpoints) to be instantiated before the channel initializer has run.

      Work-around is to add...

      <bean class="org.springframework.integration.config.xml.ChannelInitializer" />
      

      ...before the <context:mbean-export/>

      Failed with <control-bus/> and <service-activator/> with undefined input-channels.

        Attachments

          Activity

            People

            Assignee:
            oleg.zhurakousky@springsource.com Oleg Zhurakousky
            Reporter:
            grussell Gary Russell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: