All Downloads are FREE. Search and download functionalities are using the official Maven repository.

les.mule-module-spring-config.3.8.0.source-code.minimal-mule-config.xml Maven / Gradle / Ivy

There is a newer version: 3.9.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:spring="http://www.springframework.org/schema/beans"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
       http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd">


    <spring:beans>

        <spring:bean name="_muleNotificationManager" class="org.mule.config.spring.ServerNotificationManagerConfigurator"/>

        <spring:bean name="_muleConfiguration" class="org.mule.config.spring.MuleConfigurationConfigurator"/>

        <spring:bean name="_muleDefaultObjectSerializer" class="org.mule.config.spring.DefaultObjectSerializerFactoryBean" depends-on="_muleConfiguration">
            <spring:constructor-arg ref="_muleContext" />
        </spring:bean>

        <spring:bean name="_muleTransactionManager" class="org.mule.config.spring.factories.TransactionManagerFactoryBean"/>

        <spring:bean name="_defaultInMemoryQueueStore,_simpleMemoryQueueStore" class="org.mule.util.store.DefaultObjectStoreFactoryBean" factory-method="createDefaultInMemoryQueueStore"/>

        <spring:bean name="_defaultPersistentQueueStore,_fileQueueStore" class="org.mule.util.store.DefaultObjectStoreFactoryBean" factory-method="createDefaultPersistentQueueStore"/>

        <!--=================================-->
        <!--BEGINNING OF LOCAL/CLUSTER SECTION-->
        <!--=================================-->

        <!--The following section contains beans which implementation is replaced when the cluster core extension is active.-->
        <!--However, non cluster aware components such as Batch still need the local version of those components-->
        <!--to be available. Such components are defined in this section. Notice that the FixedFactoryBean is used-->
        <!--instead of a simple spring alias to allow the core extension to replace the default implementation-->
        <!--while keeping the local version intact. When the cluster core extension is not active, both-->
        <!--the default and local beans resolve to the same instance-->

        <spring:bean name="_defaultInMemoryObjectStore" class="org.mule.config.spring.factories.ConstantFactoryBean">
            <spring:constructor-arg ref="_localInMemoryObjectStore"/>
        </spring:bean>

        <spring:bean name="_localInMemoryObjectStore" class="org.mule.util.store.DefaultObjectStoreFactoryBean" factory-method="createDefaultInMemoryObjectStore"/>

        <spring:bean name="_defaultPersistentObjectStore" class="org.mule.config.spring.factories.ConstantFactoryBean">
            <spring:constructor-arg ref="_localPersistentObjectStore"/>
        </spring:bean>

        <spring:bean name="_localPersistentObjectStore" class="org.mule.util.store.DefaultObjectStoreFactoryBean" factory-method="createDefaultPersistentObjectStore"/>

        <spring:bean name="_defaultUserObjectStore" class="org.mule.config.spring.factories.ConstantFactoryBean">
            <spring:constructor-arg ref="_localUserObjectStore"/>
        </spring:bean>

        <spring:bean name="_localUserObjectStore" class="org.mule.util.store.DefaultObjectStoreFactoryBean" factory-method="createDefaultUserObjectStore"/>

        <spring:bean name="_defaultTransientUserObjectStore" class="org.mule.config.spring.factories.ConstantFactoryBean">
            <spring:constructor-arg ref="_localTransientUserObjectStore"/>
        </spring:bean>

        <spring:bean name="_localTransientUserObjectStore" class="org.mule.util.store.DefaultObjectStoreFactoryBean" factory-method="createDefaultUserTransientObjectStore"/>

        <spring:bean name="_muleQueueManager" class="org.mule.config.spring.factories.ConstantFactoryBean">
            <spring:constructor-arg ref="_localQueueManager"/>
        </spring:bean>

        <spring:bean name="_localQueueManager" class="org.mule.util.queue.DelegateQueueManager"/>

        <!--object store manager needs to be initialised by spring to keep backwards compatibility with-->
        <!--beans using it as factory method (i.e: cache)-->
        <spring:bean name="_muleObjectStoreManager" class="org.mule.util.store.MuleObjectStoreManager" init-method="initialise"/>

        <spring:alias name="_muleObjectStoreManager" alias="_localObjectStoreManager" />

        <!--============================-->
        <!--END OF LOCAL/CLUSTER SECTION-->
        <!--============================-->

        <spring:bean name="_defaultThreadingProfile" class="org.mule.config.ChainedThreadingProfile"/>

        <spring:bean name="_defaultMessageDispatcherThreadingProfile" class="org.mule.config.ChainedThreadingProfile">
            <spring:constructor-arg  ref="_defaultThreadingProfile"/>
        </spring:bean>

        <spring:bean name="_defaultMessageRequesterThreadingProfile" class="org.mule.config.ChainedThreadingProfile">
            <spring:constructor-arg  ref="_defaultThreadingProfile"/>
        </spring:bean>

        <spring:bean name="_defaultMessageReceiverThreadingProfile" class="org.mule.config.ChainedThreadingProfile">
            <spring:constructor-arg  ref="_defaultThreadingProfile"/>
        </spring:bean>

        <spring:bean name="_defaultServiceThreadingProfile" class="org.mule.config.ChainedThreadingProfile">
            <spring:constructor-arg  ref="_defaultThreadingProfile"/>
        </spring:bean>

        <spring:bean name="_defaultRetryPolicyTemplate" class="org.mule.retry.policies.NoRetryPolicyTemplate"/>

        <spring:bean name="_muleExpressionLanguage" class="org.mule.el.mvel.MVELExpressionLanguageWrapper">
            <spring:constructor-arg  ref="_muleContext"/>
        </spring:bean>

        <spring:bean name="_muleExtensionManager" class="org.mule.config.spring.factories.ExtensionManagerFactoryBean">
            <spring:constructor-arg  ref="_muleContext"/>
        </spring:bean>

        <!-- Default Transformers are now loaded from META-INF/services/org/mule/config/registry-bootstrap.properties so that
        the transformers will be available even when using the TransientRegistry only -->

    </spring:beans>

        <!-- Default configuration attributes are configured via default values in mule-core schema mule.xsd.
             Configuration element is required here so that spring creates a MuleConfiguration instance and
             populates it with defaults from schema
        -->
        <configuration />

        <notifications>
            <notification event="CONTEXT"/>
            <notification event="MODEL"/>
            <notification event="SERVICE"/>
            <notification event="SECURITY"/>
            <notification event="MANAGEMENT"/>
            <notification event="CONNECTION"/>
            <notification event="REGISTRY"/>
            <notification event="CUSTOM"/>
            <notification event="EXCEPTION"/>
            <notification event="TRANSACTION"/>
        </notifications>
</mule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy