Hi Karthik, Camel-spring uses standard spring beans, so the packaging will be the same as a spring war/jar, or even a ultra customized one. You just have to reference your spring context xml in your war web.xml (like this: http://stackoverflow.com/questions/6451377/loading-context-in-spring-using-web-xml ).
Regards, 2014-03-27 1:53 GMT+01:00 N.S.KARTHIK <nskarthi...@gmail.com>: > Hi > > >>No its just standard WAR deployment for Tomcat or any other JEE web > container. > > > I need to hide all my "Camel DSL Spring XML/Java" Routes in a Jar file. > > This jar file would be part of the /WEB-INF/lib/Route-X.jar as standards > of > Web contaner specifications. > > Question : How different is the packaging structure in jar of the "Camel > DSL Spring XML" for the Web-container ? > > *[ since for SMIX all spring XML's should /would be packaged as "/ > META-INF / spring / camel-context.xml" ] * > > > with regards > karthik > Claus Ibsen-2 wrote > > On Wed, Mar 26, 2014 at 8:39 AM, N.S.KARTHIK < > > > nskarthik.k@ > > > > wrote: > >> Hi > >> > >> On Tomcat the "Camel DSL-Spring / java Routes" will be part of the war > as > >> "WEB-INF/lib" as jar file and > >> > >> within the war in "/WEB-INF/applicationContext.xml" file declaring a > >> > > <packageScan> > >> > >> to scan all of the Jars from local context to process. > >> > >> > >> Finally For Tomcat deployment > >> > >> 1) Would the OSGI within "MANIFEST.MF" still need to be part of the jar > ? > >> > > > > No that is only needed for deploying to OSGi containers. > > > >> 2) Would the packaging of "Camel DSL-Spring / java Routes" be in a > >> specific > >> format for Tomcat deployment. > >> > > > > No its just standard WAR deployment for Tomcat or any other JEE web > > container. > > > >> > >> Note: - I did not fine this packaging info on Camel Site [ > >> https://camel.apache.org/spring.html ] > >> > >> > >> with regards > >> Karthik > >> > >> > >> > >> -- > >> View this message in context: > >> > http://camel.465427.n5.nabble.com/Came-DSL-Spring-Routes-on-Tomcat-insted-of-Servicemix-tp5749137p5749379.html > >> Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > > > -- > > Claus Ibsen > > ----------------- > > Red Hat, Inc. > > Email: > > > cibsen@ > > > Twitter: davsclaus > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > Make your Camel applications look hawt, try: http://hawt.io > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Came-DSL-Spring-Routes-on-Tomcat-insted-of-Servicemix-tp5749137p5749406.html > Sent from the Camel - Users mailing list archive at Nabble.com. >