package com.boundary.sdk.event;
import org.apache.camel.spring.Main;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class EventApplication
{
	private static Logger LOG = LoggerFactory.getLogger(EventApplication.class);

    private Main main;
     
    public static void main(String[] args) throws Exception
    {
    	EventApplication app = new EventApplication();
        app.boot();
    }
     
    private void boot() throws Exception
    {
        // create a Main instance
        main = new Main();
        
        // enable hangup support so you can press ctrl + c to terminate the JVM
        main.enableHangupSupport();
        
        // Get spring definition of the routes to start
        main.setApplicationContextUri("META-INF/event-application.xml");
         
        // run until you terminate the JVM
        LOG.info("Starting Camel. Use ctrl + c to terminate the JVM.\n");
        main.run(); 
    }
}

@@ -750,40 +750,62 @@
 Uri(
-%22META-INF/event-application.xml%22
+System.getProperty(%22boundary.application.context.uri%22)
 );%0A 

Modify main to pass in application context uri that points to the sprint file via a property