1.

What are the available resources used for modularizing configuration in Mule?

Answer»

The resources used for modularizing configuration in Mule are as follows:

  • Independent Configuration: To load a number of independent configuration files one after the other, a mule instance is used.
  • Inherited Configuration: One Configuration INHERITS a Configuration from another different configuration. This is like the name ‘inheritance’ suggests - a parent-child relationship between the 2 configurations. This ensures that no configuration file will be OMITTED booting of the application takes place. This is the guarantee that this dependency provides.

The following is an example: 

<model name=”myConfig”><model name=”myConfig” inherit=”true”>
  • Imported Configuration: This also supports spring configuration. This enables us to easily USE the spring config file to Mule configuration files. If we need to extend instance.xml then the spring context file will be imported:
<spring:beans>,<spring:import resources=”instance-beans.xml”/></spring:beans>
  • Heterogeneous configuration: In this type of configuration, we can utilize many types of files as the term ‘heterogeneous’ SIGNIFIES. By using the Groovy script method and Spring XML Configuration builders, we can create the instances.


Discussion

No Comment Found