Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 58159 invoked from network); 2 Jan 2010 05:14:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jan 2010 05:14:38 -0000 Received: (qmail 4967 invoked by uid 500); 2 Jan 2010 05:14:38 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 4898 invoked by uid 500); 2 Jan 2010 05:14:38 -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 4888 invoked by uid 500); 2 Jan 2010 05:14:38 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 4885 invoked by uid 99); 2 Jan 2010 05:14:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 05:14:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 05:14:36 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 771B4234C1F1 for ; Fri, 1 Jan 2010 21:14:15 -0800 (PST) Message-ID: <1176933841.241262409255455.JavaMail.jira@brutus.apache.org> Date: Sat, 2 Jan 2010 05:14:15 +0000 (UTC) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-2327) The NP check of the remote service is wrong in CamelServiceExporter In-Reply-To: <1563614284.151262408415338.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang resolved CAMEL-2327. --------------------------------- Resolution: Fixed trunk http://svn.apache.org/viewvc?rev=895119&view=rev camel 1.x branch http://svn.apache.org/viewvc?rev=895120&view=rev > The NP check of the remote service is wrong in CamelServiceExporter > -------------------------------------------------------------------- > > Key: CAMEL-2327 > URL: https://issues.apache.org/activemq/browse/CAMEL-2327 > Project: Apache Camel > Issue Type: Bug > Affects Versions: 1.4.0, 1.5.0, 1.6.0, 2.0-M1, 1.6.1, 1.6.2, 2.0-M2, 2.0-M3, 2.0.0, 2.1.0 > Reporter: Willem Jiang > Assignee: Willem Jiang > Priority: Minor > Fix For: 1.6.3, 2.2.0 > > > We should check the export service instead of the camelContext. > --- components/camel-spring/src/main/java/org/apache/camel/spring/remoting/CamelServiceExporter.jav(revision 895109) > +++ components/camel-spring/src/main/java/org/apache/camel/spring/remoting/CamelServiceExporter.jav(working copy) > @@ -83,7 +83,7 @@ > } > > Endpoint endpoint = CamelContextHelper.getMandatoryEndpoint(camelContext, uri); > - notNull(camelContext, "service"); > + notNull(getService(), "service"); > Object proxy = getProxyForService(); > > consumer = endpoint.createConsumer(new BeanProcessor(proxy, camelContext)); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.