Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 33978 invoked from network); 3 Jul 2008 15:51:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 15:51:05 -0000 Received: (qmail 47028 invoked by uid 500); 3 Jul 2008 15:50:45 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 47018 invoked by uid 500); 3 Jul 2008 15:50:45 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 47000 invoked by uid 99); 3 Jul 2008 15:50:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 08:50:45 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 15:49:53 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KER4X-00047B-53 for camel-user@activemq.apache.org; Thu, 03 Jul 2008 08:50:13 -0700 Message-ID: <18261581.post@talk.nabble.com> Date: Thu, 3 Jul 2008 08:50:13 -0700 (PDT) From: raul_b To: camel-user@activemq.apache.org Subject: servlet issues with camel.. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: raul.brito@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm new in Camel, so excuses if the answers are obvious.. :) I'm using camel 1.3, and creating a route of the type from("jetty:http://...").process(new ProcessorClass()); Inside the ProcessorClass i'm trying to get hold of the servlet session: void process(Exchange exchange) { ... HttpSession session = ((HttpExchange)exchange).getRequest().getSession(); ... } It fails miserably with a "java.lang.IllegalStateException: No SessionHandler or SessionManager". I'm wondering why this happens.. Is this a way to solve this problem? Can I, within Camel, get all the functionality provided by the servlets API? >From this example, regarding sessions, it doesn't seem like.. Or am I missing something here? Thanks, Raul -- View this message in context: http://www.nabble.com/servlet-issues-with-camel..-tp18261581s22882p18261581.html Sent from the Camel - Users mailing list archive at Nabble.com.