Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 84527 invoked from network); 20 Jan 2011 11:25:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2011 11:25:21 -0000 Received: (qmail 49321 invoked by uid 500); 20 Jan 2011 11:25:21 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 48998 invoked by uid 500); 20 Jan 2011 11:25:19 -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 48990 invoked by uid 99); 20 Jan 2011 11:25:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 11:25:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mdiez@tecsisa.com designates 84.233.205.172 as permitted sender) Received: from [84.233.205.172] (HELO it03.tecsisa.com) (84.233.205.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 11:25:08 +0000 Received: from MORFEO.tecsisa.com (98.209.216.87.static.jazztel.es [87.216.209.98]) by it03.tecsisa.com (8.14.1/8.13.7) with ESMTP id p0KBOhEh029225 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 20 Jan 2011 12:24:46 +0100 Received: from MORFEO.tecsisa.com ([::1]) by MORFEO.tecsisa.com ([::1]) with mapi; Thu, 20 Jan 2011 12:23:55 +0100 From: =?iso-8859-1?Q?Marcos_D=EDez_Fern=E1ndez?= To: "users@camel.apache.org" Subject: CXF endpoint's address dynamically modified? Thread-Topic: CXF endpoint's address dynamically modified? Thread-Index: Acu4lIZhOkI3q1upSX6z0TMwZXVQrg== Date: Thu, 20 Jan 2011 11:23:55 +0000 Message-ID: Accept-Language: es-ES, en-US Content-Language: es-ES X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: multipart/alternative; boundary="_000_E7DB7EBB6A4C9E4C91779054EF922182074913D8MORFEOtecsisaco_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_E7DB7EBB6A4C9E4C91779054EF922182074913D8MORFEOtecsisaco_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have set up a camel CXF client with Spring in ServiceMix-4.3.0-fuse-03-00= based on Karaf OSGi container. Due to my project requirements, and to take= advantage of OSGI capabilities, I'd like to change the CXF endpoint's add= ress dynamically. Until now I can extract the endpoint from the camel conte= xt but I'm not able to modify its address: CxfEndpoint cxfEndpoint =3D (CxfEndpoint) camelContext.getEndpoint("cxfEsio= sMPClient"); I've seen there is a setAddress method for CxfEndpoint in Camel 2.5.0, but = currently Servicemix just contains Camel 2.4.0, which doesn't have this set= ter. Does this setter solves this issue, and therefore I should wait for a new v= ersion of ServiceMix? Or is there any workaround for this? Any help would be appreciate. Thanks in advance. BR, Marcos --_000_E7DB7EBB6A4C9E4C91779054EF922182074913D8MORFEOtecsisaco_--