Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 45230 invoked from network); 22 Jan 2009 16:26:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2009 16:26:58 -0000 Received: (qmail 9356 invoked by uid 500); 22 Jan 2009 16:26:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 9339 invoked by uid 500); 22 Jan 2009 16:26:57 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 9327 invoked by uid 99); 22 Jan 2009 16:26:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 08:26:57 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [129.183.4.8] (HELO ecfrec.frec.bull.fr) (129.183.4.8) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 16:26:44 +0000 Received: from localhost (localhost [127.0.0.1]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id 152001B966A for ; Thu, 22 Jan 2009 17:26:21 +0100 (CET) Received: from ecfrec.frec.bull.fr ([127.0.0.1]) by localhost (ecfrec.frec.bull.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27696-02 for ; Thu, 22 Jan 2009 17:26:16 +0100 (CET) Received: from cyclope.frec.bull.fr (cyclope.frec.bull.fr [129.183.4.9]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id 021F31B96B3 for ; Thu, 22 Jan 2009 17:26:16 +0100 (CET) Received: from [129.183.128.29] (frecb007894.frec.bull.fr [129.183.128.29]) by cyclope.frec.bull.fr (Postfix) with ESMTP id 0E8B927291 for ; Thu, 22 Jan 2009 17:26:14 +0100 (CET) Message-ID: <49789E68.7020709@bull.net> Date: Thu, 22 Jan 2009 17:27:20 +0100 From: Guillaume Renault User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: users@camel.apache.org Subject: How to expose a CXF WebService as an Endpoint with DSL ? Content-Type: multipart/mixed; boundary="------------050309040106080701000505" X-Virus-Scanned: by amavisd-new at frec.bull.fr X-Virus-Checked: Checked by ClamAV on apache.org --------------050309040106080701000505 Content-Type: multipart/alternative; boundary="------------070309060604030900030300" --------------070309060604030900030300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, i don't know if my e-mail was properly sent, as i wasn't completly added to the list. Anyway, i'm completing it with some datas : * Use of Camel 1.5 The previous mail was : Hi Camel users, I'm a new user, and you may hear from me sometime ;) i'm trying to use CXF as an access point on Camel. some questions are crossing my mind: 1. Is it possible to just have annotated classes (Interface + implementation) and let Camel exposes it as a webservice, without any more information ? is it even possible to give Camel a simple POJO without any annotation ? 2. If yes, what is the right procedure ? I'm not using spring, and i'm working in an OSGi environment, as i'm integrating Camel into JOnAS 5.1.X. Do i need to first declare a CxfComponent, and then create an Endpoint, and give it the service class ? Do i need to just use the following : Object implementor = new SayHello(); String address = "http://cxf.apache.org/transports/jms"; Endpoint endpoint = Endpoint.publish(address, implementor); Or maybe something else ... ? Btw, i'll have to talk with you about Camel on OSGi, i did have to do some extends to make it correctly works ;), but it will come latter. Regards, Guillaume Regards, Guillaume -- Guillaume Renault - BULL Service BULL - Architect of an Open World Email : guillaume.renault@bull.net Tel : +334 76 29 71 09 Office : B1-295 Web : http://jasmine.ow2.org web : http://jonas.ow2.org (\ _ /) (='.'=) (")-(") --------------070309060604030900030300 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

i don't know if my e-mail was properly sent, as i wasn't completly added to the list. Anyway, i'm completing it with some datas :
  • Use of Camel 1.5
The previous mail was :

Hi Camel users,

I'm a new user, and you may hear from me sometime ;)
i'm trying to use CXF as an access point on Camel. some questions are crossing my mind:
  1. Is it possible to just have annotated classes (Interface + implementation) and let Camel exposes it as a webservice, without any more information ? is it even possible to give Camel a simple POJO without any annotation ?
  2. If yes, what is the right procedure ? I'm not using spring, and i'm working in an OSGi environment, as i'm integrating Camel into JOnAS 5.1.X.

    Do i need to first declare a CxfComponent, and then create an Endpoint, and give it the service class ?
    Do i need to just use the following :

    Object implementor = new SayHello();
    String address = "http://cxf.apache.org/transports/jms";
    Endpoint endpoint = Endpoint.publish(address, implementor);

    Or maybe something else ...

    ?
Btw, i'll have to talk with you about Camel on OSGi, i did have to do some extends to make it correctly works ;), but it will come latter.

Regards,

Guillaume

Regards,

Guillaume
-- 
Guillaume Renault - BULL Service
BULL - Architect of an Open World
Email : guillaume.renault@bull.net
Tel : +334 76 29 71 09
Office : B1-295
Web : http://jasmine.ow2.org
web : http://jonas.ow2.org
(\ _ /)
(='.'=)
(")-(")
--------------070309060604030900030300-- --------------050309040106080701000505--