camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Deploying Camel in Jboss
Date Wed, 17 Aug 2011 16:16:13 GMT
On Wed, Aug 17, 2011 at 4:29 PM, Abhijith <abhiteju2007@gmail.com> wrote:
> Thank you.... I was able to deploy success fully camel 2.8 ..
> But for camel 2.6 and jdk1.5 I have CamelHttpTransportServlet in web.xml, I
> am using Spring 3.0.5 ( looks like ContextLoaderServlet is deprecated) wat
> will be the alternative:
>

I dont think there is any other alternative in Camel 2.6, than using
the ContextLoaderServlet.
The improvement in the Camel servlet component is in Camel 2.7 onwards.



> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
>        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
>        id="WebApp_ID" version="2.5">
>        <display-name>CamelInAction</display-name>
>        <listener>
>
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>        </listener>
>
>
>        <context-param>
>                <param-name>contextConfigLocation</param-name>
>                <param-value>
>                        /WEB-INF/applicationContext.xml
>                        /WEB-INF/security.xml
>                </param-value>
>        </context-param>
>        <servlet>
>                <servlet-name>CamelServlet</servlet-name>
>
> <servlet-class>org.apache.camel.component.servlet.CamelHttpTransportServlet</servlet-class>
>                <load-on-startup>1</load-on-startup>
>        </servlet>
>
>
>        <servlet-mapping>
>                <servlet-name>CamelServlet</servlet-name>
>                <url-pattern>/camel/*</url-pattern>
>        </servlet-mapping>
>
>        <filter>
>                <filter-name>springSecurityFilterChain</filter-name>
>
> <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
>        </filter>
>
>        <filter-mapping>
>                <filter-name>springSecurityFilterChain</filter-name>
>                <url-pattern>/*</url-pattern>
>        </filter-mapping>
>
> </web-app>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Deploying-Camel-in-Jboss-tp4708163p4708450.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message