Mule

SpringConfigurationBuilder: global endpoint do not work

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.2
  • Fix Version/s: 1.4.0
  • Component/s: Core: Configuration
  • Labels:
    None
  • Configuration:
    Hide

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE mule-configuration PUBLIC "-//MuleSource //DTD mule-configuration XML V1.0//EN" "http://mule.mulesource.org/dtds/mule-configuration.dtd">

    <mule-configuration id="Mule_Echo_Sample" version="1.0">

    <connector name="SystemStreamConnector" className="org.mule.providers.stream.SystemStreamConnector">
    <properties>
    <property name="promptMessage" value="Please enter something: "/>
    <property name="messageDelayTime" value="1000"/>
    </properties>

    <exception-strategy className="org.mule.impl.DefaultExceptionStrategy">
    <global-endpoint name="fault"/>
    </exception-strategy>

    </connector>

    <global-endpoints>
    <endpoint name="fault" address="stream://System.err"/>
    </global-endpoints>

    <model name="echoSample">

    <mule-descriptor name="EchoUMO" implementation="org.mule.components.simple.EchoComponent">
    <inbound-router>
    <endpoint address="stream://System.in"/>
    </inbound-router>

    <outbound-router>
    <router className="org.mule.routing.outbound.OutboundPassThroughRouter">
    <endpoint address="stream://System.out"/>
    </router>
    </outbound-router>
    </mule-descriptor>
    </model>
    </mule-configuration>

    Show
    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mule-configuration PUBLIC "-//MuleSource //DTD mule-configuration XML V1.0//EN" "http://mule.mulesource.org/dtds/mule-configuration.dtd"> <mule-configuration id="Mule_Echo_Sample" version="1.0"> <connector name="SystemStreamConnector" className="org.mule.providers.stream.SystemStreamConnector"> <properties> <property name="promptMessage" value="Please enter something: "/> <property name="messageDelayTime" value="1000"/> </properties> <exception-strategy className="org.mule.impl.DefaultExceptionStrategy"> <global-endpoint name="fault"/> </exception-strategy> </connector> <global-endpoints> <endpoint name="fault" address="stream://System.err"/> </global-endpoints> <model name="echoSample"> <mule-descriptor name="EchoUMO" implementation="org.mule.components.simple.EchoComponent"> <inbound-router> <endpoint address="stream://System.in"/> </inbound-router> <outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="stream://System.out"/> </router> </outbound-router> </mule-descriptor> </model> </mule-configuration>
  • Log Output:
    Hide
    01:45:42,022 FATAL MuleServer:288 - A Fatal error has occurred while the server was running: Error creating bean with name 'muleManager' defined in resource loaded through InputStream: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Failed to wire MuleManager together: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'muleManager' defined in resource loaded through InputStream: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Failed to wire MuleManager together: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null
    Caused by:
    org.springframework.beans.factory.BeanInitializationException: Failed to wire MuleManager together: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null
    Caused by:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null
    Caused by:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null
    Caused by:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null
            at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:284)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:665)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:617)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
            at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:198)
            at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)
            at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:266)
            at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:132)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)
            at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:198)
            at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)
            at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:238)
            at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:697)
            at org.mule.extras.spring.config.AutowireUMOManagerFactoryBean.setApplicationContext(AutowireUMOManagerFactoryBean.java:128)
            at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:86)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:297)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1025)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
            at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
            at org.mule.extras.spring.config.MuleApplicationContext.<init>(MuleApplicationContext.java:46)
            at org.mule.extras.spring.config.MuleApplicationContext.<init>(MuleApplicationContext.java:38)
            at org.mule.extras.spring.config.SpringConfigurationBuilder.configure(SpringConfigurationBuilder.java:100)
            at org.mule.MuleServer.initialize(MuleServer.java:268)
            at org.mule.MuleServer.run(MuleServer.java:181)
            at org.mule.MuleServer.start(MuleServer.java:169)
            at org.mule.MuleServer.main(MuleServer.java:140)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292)
            at java.lang.Thread.run(Thread.java:595)
    Show
    01:45:42,022 FATAL MuleServer:288 - A Fatal error has occurred while the server was running: Error creating bean with name 'muleManager' defined in resource loaded through InputStream: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Failed to wire MuleManager together: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'muleManager' defined in resource loaded through InputStream: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Failed to wire MuleManager together: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null Caused by: org.springframework.beans.factory.BeanInitializationException: Failed to wire MuleManager together: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SystemStreamConnector' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.DefaultExceptionStrategy#14b081b' while setting bean property 'exceptionListener'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.DefaultExceptionStrategy#14b081b' defined in resource loaded through InputStream: Cannot create inner bean 'org.mule.impl.endpoint.MuleEndpoint#1185844' while setting bean property 'endpoints' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mule.impl.endpoint.MuleEndpoint#1185844' defined in resource loaded through InputStream: Factory method 'getEndpointFromUri' on class [org.mule.impl.endpoint.MuleEndpoint] returned null         at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:284)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:665)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:617)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:198)         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:266)         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:132)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:198)         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:238)         at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:697)         at org.mule.extras.spring.config.AutowireUMOManagerFactoryBean.setApplicationContext(AutowireUMOManagerFactoryBean.java:128)         at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:86)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:297)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1025)         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)         at org.mule.extras.spring.config.MuleApplicationContext.<init>(MuleApplicationContext.java:46)         at org.mule.extras.spring.config.MuleApplicationContext.<init>(MuleApplicationContext.java:38)         at org.mule.extras.spring.config.SpringConfigurationBuilder.configure(SpringConfigurationBuilder.java:100)         at org.mule.MuleServer.initialize(MuleServer.java:268)         at org.mule.MuleServer.run(MuleServer.java:181)         at org.mule.MuleServer.start(MuleServer.java:169)         at org.mule.MuleServer.main(MuleServer.java:140)         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)         at java.lang.reflect.Method.invoke(Method.java:585)         at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292)         at java.lang.Thread.run(Thread.java:595)
  • Similar Issues:
    MULE-2718 Do not allow transformers to be configured on global endpoints.
    MULE-973 Can't use TemplateEndpointRouter with SpringConfigurationBuilder
    MULE-1612 "system-property" doesn't work with SpringConfigurationBuilder
    MULE-4392 Problem with EndpointMessageNotificationListener and global endpoint
    MULE-2717 Implement inbound/outbound global endpoints
    MULE-2991 Use global endpoints as much as possible
    MULE-2629 Default transformers + global endpoints don't work
    MULE-4327 filters configured as child elements of endpoints in chaining router do not work
    MULE-652 MuleEventMulticaster not loading global endpoints
    MULE-5206 HTTPS inbound-endpoints do not work in a flow

Description

Using global endpoint inside an exception strategy do not work with the SpringConfigurationBuilder.

The attached configuration work when using: mule.bat -config "config-test.xml"
The same configuration fails when using: mule.bat -builder org.mule.extras.spring.config.SpringConfigurationBuilder -config "config-test.xml"

Issue Links

Activity

Hide
Aymeric Alibert added a comment - 14/Dec/06 08:48 AM

I narrowed down the problem to the AutowireUMOManagerFactoryBean class.
The connectors are registed first with the Mule manager instance. However in the example, the connector tries to lookup the global endpoint but this one is not yet registred with the mule manager.

Show
Aymeric Alibert added a comment - 14/Dec/06 08:48 AM I narrowed down the problem to the AutowireUMOManagerFactoryBean class. The connectors are registed first with the Mule manager instance. However in the example, the connector tries to lookup the global endpoint but this one is not yet registred with the mule manager.
Hide
Travis Carlson added a comment - 06/Jan/07 08:45 AM

Fixed in r4458

This was a bug in Spring itself and was fixed by upgrading from Spring 2.0 to 2.0.2 (MULE-1258)

Show
Travis Carlson added a comment - 06/Jan/07 08:45 AM Fixed in r4458 This was a bug in Spring itself and was fixed by upgrading from Spring 2.0 to 2.0.2 (MULE-1258)
Hide
Marie Claire Rizzo added a comment - 10/Jan/07 09:51 AM

Travis, did you add a test case for this scenario?

Show
Marie Claire Rizzo added a comment - 10/Jan/07 09:51 AM Travis, did you add a test case for this scenario?
Hide
Travis Carlson added a comment - 10/Jan/07 01:30 PM

Just did
r4620

Show
Travis Carlson added a comment - 10/Jan/07 01:30 PM Just did r4620
Hide
Andrew Perepelytsya added a comment - 10/Jan/07 02:51 PM

Spring 2.0.2 is out, will make upgrades easier.

Show
Andrew Perepelytsya added a comment - 10/Jan/07 02:51 PM Spring 2.0.2 is out, will make upgrades easier.

People

Vote (0)
Watch (0)

Dates

  • Created:
    30/Nov/06 01:47 AM
    Updated:
    13/May/08 01:01 PM
    Resolved:
    06/Jan/07 08:45 AM