Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0282510CEF for ; Thu, 12 Sep 2013 09:33:51 +0000 (UTC) Received: (qmail 62912 invoked by uid 500); 12 Sep 2013 09:33:50 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 62799 invoked by uid 500); 12 Sep 2013 09:33:44 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 62790 invoked by uid 99); 12 Sep 2013 09:33:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 09:33:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elakito@gmail.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pb0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 09:33:36 +0000 Received: by mail-pb0-f43.google.com with SMTP id md4so10313992pbc.30 for ; Thu, 12 Sep 2013 02:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BcZNkoo/cNb8p9InN8+i/owS1ROsMuM/7tAUgSC4BuE=; b=pGNGreMWGtQjx5L2RrGdzo6KqJPdnL7p3cuxviSZkqaEjVTjGOVbTM6dT8dgTh83nj 9qxlF2LaHYNvXOUQjdu7V3ec9K+uLPJx42Ov7BuFtqbWShFClELEaR9fOwfWwHhy12tF WKNN+2TDsY2x/XIKoSWfHYZ/oREEJi0WseteU+YQAdQKY+TITAcu0BzrWxkMNagdlh+b ymj67grV6mLr44eZkehoe6Rh8n7VSHrhnr06Ei+tOkePgqDP12xi9fmXlHcdS5P56vkw 5adpgNVTrUajIZl90kguWWuatpLLzGTdPQzD0xWMOvybZgY746qRtMU+y2T2hJdQVVbH JjYA== MIME-Version: 1.0 X-Received: by 10.67.23.71 with SMTP id hy7mr8286932pad.99.1378978394957; Thu, 12 Sep 2013 02:33:14 -0700 (PDT) Received: by 10.68.244.131 with HTTP; Thu, 12 Sep 2013 02:33:14 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Sep 2013 11:33:14 +0200 Message-ID: Subject: Re: thoughts on the camel-websocket component From: Aki Yoshida To: dev@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Charles, If you will be working on the atmosphere component, I will be interested in collaborating with you. I'm currently more interested in the websocket part than in the atmosphere component itself, as I mentioned in my initial mail. We can use this list and irc for communication. thanks. regards, aki 2013/9/11 Charles Moulliard : > You are right, we need something which is web container agnostic. As > atmosphere was in my todo list, maybe it is time to develop the > camel-atmosphere component. If you are interested we can collaborate on > that ? > > > On Tue, Sep 10, 2013 at 3:23 PM, Aki Yoshida wrote: > >> Hi Charles, >> >> If we only support jetty, that will be fine. But to support tomcat, we >> need a component that avoids using jetty's websocket API directly. >> In this aspect, camel-cxf is different because its servlet is not >> web-container specific and can also be used in a gemini/tomcat based >> OSGi environment, as long as there is a mechanism for its servlet to >> get registered. So there is this decoupling to the web container >> implementation. >> >> Going for atmosphere will provide a similar decoupling. >> >> regards, aki >> >> 2013/9/10 Charles Moulliard : >> > Hi Aki, >> > >> > As the camel-websocket component uses Jetty + WebSocket servlet of Jetty, >> > that should not be a big change to add a property for the endpoint to >> > request that we use Jetty deployed in Karaf, Felix, ... instead of >> creating >> > a local jetty instance. This is what we do with camel-cxf endpoint >> > >> > Regards, >> > >> > >> > >> > On Tue, Sep 10, 2013 at 12:00 PM, Aki Yoshida wrote: >> > >> >> I have been looking into the websocket component and I was wondering >> >> about a few things. >> >> >> >> First of all, I would like to make the component use the framework's >> >> servlet if it's running in e.g., an OSGi container like karaf that has >> >> jetty or another container that uses geminiweb/tomcat. I was using >> >> Atmosphere to have the framework's servlet container picked up in both >> >> environments. >> >> >> >> I saw ticket CAMEL-5353 "camel-atmosphere - A new component for >> >> portable websocket integration" and this seems to imply the >> >> introduction of a new atmosphere specific component that might go >> >> beyond the websocket functionality. Or is this intended for just a new >> >> websocket component? I think Claus created this ticket when there was >> >> a question in the mailing list about making the component work with >> >> tomcat. I don't know its scope and status and if someone is working >> >> on this. >> >> >> >> Another thing I was wondering about is that we should also have a >> >> client-side websocket so that we can post data to an external >> >> websocket. As the current websocket's producer mode writes back to the >> >> server side websocket, we will need a new syntax for this usage, maybe >> >> using the ws URL. This could be used in both the producer and consumer >> >> modes as in the websocket component. >> >> >> >> If you could comment on this, that would be very appreciated. >> >> >> >> Thanks. >> >> regards, aki >> >> >> > >> > >> > >> > -- >> > Charles Moulliard >> > Apache Committer / Architect @RedHat >> > Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com >> > > > > -- > Charles Moulliard > Apache Committer / Architect @RedHat > Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com