Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DDD7F64F for ; Wed, 21 Aug 2013 16:44:19 +0000 (UTC) Received: (qmail 5834 invoked by uid 500); 21 Aug 2013 16:44:19 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 5778 invoked by uid 500); 21 Aug 2013 16:44:19 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 5771 invoked by uid 99); 21 Aug 2013 16:44:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 16:44:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 16:44:18 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0C51723889E0; Wed, 21 Aug 2013 16:43:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1516208 - /cxf/trunk/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java Date: Wed, 21 Aug 2013 16:43:57 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130821164358.0C51723889E0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Wed Aug 21 16:43:57 2013 New Revision: 1516208 URL: http://svn.apache.org/r1516208 Log: [CXF-5225] Provide the Endpoint so conduit selectors can make a complete decision Modified: cxf/trunk/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java Modified: cxf/trunk/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java URL: http://svn.apache.org/viewvc/cxf/trunk/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java?rev=1516208&r1=1516207&r2=1516208&view=diff ============================================================================== --- cxf/trunk/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java (original) +++ cxf/trunk/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java Wed Aug 21 16:43:57 2013 @@ -814,7 +814,7 @@ public class ClientImpl Message message = new MessageImpl(); Exchange exchange = new ExchangeImpl(); message.setExchange(exchange); - setExchangeProperties(exchange, null, null); + setExchangeProperties(exchange, getEndpoint(), null); return getConduitSelector().selectConduit(message); } @@ -874,10 +874,11 @@ public class ClientImpl exchange.put(Client.class, this); exchange.put(Bus.class, bus); - if (endpoint != null && boi != null) { - + if (endpoint != null) { EndpointInfo endpointInfo = endpoint.getEndpointInfo(); - exchange.put(Message.WSDL_OPERATION, boi.getName()); + if (boi != null) { + exchange.put(Message.WSDL_OPERATION, boi.getName()); + } QName serviceQName = endpointInfo.getService().getName(); exchange.put(Message.WSDL_SERVICE, serviceQName);