camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1910) CamelHttpTransportServlet need to support init the camel context itself
Date Thu, 13 Aug 2009 08:34:36 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53605#action_53605
] 

Claus Ibsen commented on CAMEL-1910:
------------------------------------

Willem can you try to avid loading and starting spring yourself

Try to lazy init what you need.

See more here:
http://andykayley.blogspot.com/2007/11/how-to-inject-spring-beans-into.html

Where there is a spring helper method to get access to SpringApplicationContext from the servlet
request.

Then Camel does *not* impose any problems like Mule did.

> CamelHttpTransportServlet need to support init the camel context itself
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-1910
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1910
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-servlet
>    Affects Versions: 2.0-M3
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> Since current servlet component need to deploy the servlet first then it can create the
servlet endpoint for using.
> Here is the mail thread which discusses about the servlet component creation issue.
> http://www.nabble.com/How-to-create-a-Servlet-component--td24909157.html
> So CamelHttpTransportServlet need to support init the camel context itself after the
servlet is initialized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message