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

Defaults on IntegrationManagementConfiguration Incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.2.GA
    • Fix Version/s: 4.2.1
    • Component/s: Core
    • Labels:

      Description

      • *Enabled are not "*" by default.
      • Metrics factory defaults to ""

      Exception in thread "main" org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '' is defined
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1174)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
      at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1051)
      at org.springframework.integration.support.management.IntegrationManagementConfigurer.afterSingletonsInstantiated(IntegrationManagementConfigurer.java:179)

      Also, typo in assert:

      	public void setEnabledStatsPatterns(String[] enabledStatsPatterns) {
      		Assert.notEmpty(enabledStatsPatterns, "componentNamePatterns must not be empty");
      

        Attachments

          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: