So all dependency jars need to go in WEB-INF/lib? Ivanhoe Abrahams <[EMAIL PROTECTED]> wrote: Hi,
Maybe somebody else can give you a better indication as how to do this, but here's how I would do it. ASSUMING that your'e web app is Spring enabled. Change your web.xml to include contextConfigLocation /WEB-INF/servicemix.xml contextClass org.apache.xbean.spring.context.XmlWebApplicationContext org.springframework.web.context.ContextLoaderListener This will cause the servicemix.xml file to load. and as a result your servicemix JBIContainer, along with other spring based beans.... That's it Remember that as you add more Binding Components eg http, you will have to progressively add more jars to your project, at the very least I think you only need 6 or 7 jar files, but as you add new BC's you need to add more jars (obviously) Hope that helps Ivanhoe On 8/29/07, kumar k wrote: > > What I wanted to ask is how to package it with my application. My > application is deployed as a war file. If I want to embed servicemix with it > what all jars etc need to be packaged with that war and what should be > package structure. > Regards > Kumar > > Kit Plummer wrote: > On 8/29/07, kumar k wrote: > > > > What are the steps required for embeding ServiceMix in my application? > > > > --------------------------------- > > Looking for a deal? Find great prices on flights and hotels with Yahoo! > > FareChase. > > > Sending you on a boondoggle: > > http://incubator.apache.org/servicemix/basic.html > > -- > Kit Plummer > Nobody-in-Charge @ Black:Hole:Logic > http://www.blackholelogic.com > > > > --------------------------------- > Ready for the edge of your seat? Check out tonight's top picks on Yahoo! > TV. --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
