Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 15997 invoked from network); 18 Oct 2008 17:49:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2008 17:49:35 -0000 Received: (qmail 33597 invoked by uid 500); 18 Oct 2008 17:49:37 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 33576 invoked by uid 500); 18 Oct 2008 17:49:37 -0000 Mailing-List: contact issues-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 issues@cxf.apache.org Received: (qmail 33562 invoked by uid 99); 18 Oct 2008 17:49:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Oct 2008 10:49:36 -0700 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, 18 Oct 2008 17:48:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9161D234C236 for ; Sat, 18 Oct 2008 10:48:44 -0700 (PDT) Message-ID: <1025043395.1224352124594.JavaMail.jira@brutus> Date: Sat, 18 Oct 2008 10:48:44 -0700 (PDT) From: "Christian Schneider (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-1426) If JMS destination / JNDI server is missing, publishing an endpoint doesn't fail, only logs exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640788#action_12640788 ] Christian Schneider commented on CXF-1426: ------------------------------------------ Could you please check out the latest trunk version of cxf and report if the issue still exists? We have done many refactorings and it is well possible that the issue is solved. > If JMS destination / JNDI server is missing, publishing an endpoint doesn't fail, only logs exception > ----------------------------------------------------------------------------------------------------- > > Key: CXF-1426 > URL: https://issues.apache.org/jira/browse/CXF-1426 > Project: CXF > Issue Type: Bug > Components: Transports > Affects Versions: 2.0.4 > Environment: ActiveMQ 5 > Reporter: Mayank Thakore > Priority: Minor > Original Estimate: 1h > Remaining Estimate: 1h > > When publishing a service on the JMS transport, if the jndi server cannot be found, or the named destination is missing, CXF will only log the exception. It will not throw. Hence, it is not possible to know that the service creation failed. > Endpoint impl = Endpoint.publish(url, object); > if ((impl != null) && impl.isPublished()) { > // success > } > The above code will go to success case even in failure conditions mentioned above. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.