Hi
How to run http://hawt.io/ <http://hawt.io/> hawtio in standalone camel
app?
I tried this
io.hawt.embedded.Main hawtioMain=new io.hawt.embedded.Main();
hawtioMain.setContextPath("/hawtio");
hawtioMain.setPort(8000);
hawtioMain.setWar("D:\\camelworkspace\\camelactivemq");
hawtioMain.run();
AbstractApplicationContext applicationContext = new
ClassPathXmlApplicationContext(
"classpath:/META-INF/spring/camel-context*.xml");
Main main = new Main();
main.setApplicationContext(applicationContext);
main.enableHangupSupport();
main.addRouteBuilder(new CustomeRouteBuilder());
CamelContext
camelContext=applicationContext.getBean(CamelContext.class);
camelContext.addService(new DatabaseService());
main.run(args);
hawtioMain.run() is blocking and the control is not returning to load
camel, Is there any way I can run this?
-----
Regards
kiran Reddy
--
View this message in context:
http://camel.465427.n5.nabble.com/running-hawtio-in-standalone-camel-app-tp5738579.html
Sent from the Camel - Users mailing list archive at Nabble.com.