Package org.mule.config.builders

Examples of org.mule.config.builders.AutoConfigurationBuilder


      if (!muleURL.endsWith("/"))
        muleURL += "/";
     
      loggingInterceptorLevel = p.getProperty("loggingInterceptorLevel");
     
      AutoConfigurationBuilder configbuilder = new AutoConfigurationBuilder("conf/jallinone.xml");
      DefaultMuleConfiguration muleConfig = new DefaultMuleConfiguration();
      muleConfig.setClientMode(true);
      DefaultMuleContextBuilder contextBuilder = new DefaultMuleContextBuilder();
      contextBuilder.setMuleConfiguration(muleConfig);
      muleContext = new DefaultMuleContextFactory().createMuleContext(configbuilder, contextBuilder);
View Full Code Here


            new SimpleConfigurationBuilder(properties).configure(muleContext);
        }

        // Automatically resolve Configuration to be used and delegate configuration
        // to it.
        new AutoConfigurationBuilder(configResources).configure(muleContext);

        return muleContext;
    }
View Full Code Here

        return muleContextFactory.createMuleContext(new SimpleConfigurationBuilder(null));
    }

    public void testConfigureSpring() throws ConfigurationException, InitialisationException
    {
        ConfigurationBuilder configurationBuilder = new AutoConfigurationBuilder(
            "org/mule/test/spring/config1/test-xml-mule2-config.xml");
        configurationBuilder.configure(muleContext);

        // Just a few of the asserts from AbstractConfigBuilderTestCase
        MessagingExceptionHandler es = muleContext.getRegistry().lookupModel("main").getExceptionListener();
        assertNotNull(es);
        assertTrue(es instanceof TestExceptionStrategy);
View Full Code Here

                    new SimpleConfigurationBuilder(properties).configure(muleContext);
                }

                // Automatically resolve Configuration to be used and delegate configuration
                // to it.
                new AutoConfigurationBuilder(configResources).configure(muleContext);

                notifyMuleContextConfiguration(muleContext);
            }
        });
    }
View Full Code Here

    }

    @Test
    public void testConfigureSpring() throws ConfigurationException, InitialisationException
    {
        ConfigurationBuilder configurationBuilder = new AutoConfigurationBuilder(
            "org/mule/test/spring/config1/test-xml-mule2-config.xml");
        configurationBuilder.configure(muleContext);

        // Just a few of the asserts from AbstractConfigBuilderTestCase
        MessagingExceptionHandler es = muleContext.getRegistry().lookupModel("main").getExceptionListener();
        assertNotNull(es);
        assertTrue(es instanceof TestExceptionStrategy);
View Full Code Here

TOP

Related Classes of org.mule.config.builders.AutoConfigurationBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.