1
2
3
4
5
6
7
8
9
10
11 package org.mule.examples.loanbroker.bpm;
12
13 import org.mule.config.ConfigurationBuilder;
14 import org.mule.examples.loanbroker.AbstractLoanBrokerApp;
15 import org.mule.extras.spring.config.SpringConfigurationBuilder;
16 import org.mule.umo.UMOException;
17
18
19
20
21 public class LoanBrokerApp extends AbstractLoanBrokerApp
22 {
23 public LoanBrokerApp(String config) throws Exception
24 {
25 super(config);
26 }
27
28 public static void main(String[] args) throws Exception
29 {
30 LoanBrokerApp loanBrokerApp = new LoanBrokerApp("loan-broker-bpm-mule-config.xml");
31 loanBrokerApp.run(false);
32 }
33
34 protected ConfigurationBuilder getConfigBuilder() throws UMOException
35 {
36 return new SpringConfigurationBuilder();
37 }
38
39 }