Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 29094 invoked from network); 30 Aug 2008 01:50:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2008 01:50:05 -0000 Received: (qmail 55012 invoked by uid 500); 30 Aug 2008 01:50:03 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 54997 invoked by uid 500); 30 Aug 2008 01:50:03 -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 54986 invoked by uid 99); 30 Aug 2008 01:50:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 18:50:03 -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, 30 Aug 2008 01:49:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 48DE9234C1C4 for ; Fri, 29 Aug 2008 18:49:44 -0700 (PDT) Message-ID: <1477666597.1220060984297.JavaMail.jira@brutus> Date: Fri, 29 Aug 2008 18:49:44 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-1774) JMS Transport: Remove JNDI lookups for ConnectionFactory, targetDestination and replyDestination In-Reply-To: <1965910569.1220057864297.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1774?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D126271= 83#action_12627183 ]=20 Daniel Kulp commented on CXF-1774: ---------------------------------- Quick comment: with the JNDI lookup mechanism, the JMS transport can be used in non-spring= configurations. I'd be slightly reluctant to lose that ability. Also note that the SOAP/JMS spec specifically requires support for using JN= DI lookups. Thus, we would need it if implementing that spec. http://www.w3.org/Submission/SOAPJMS/#binding-properties > JMS Transport: Remove JNDI lookups for ConnectionFactory, targetDestinati= on and replyDestination > -------------------------------------------------------------------------= ----------------------- > > Key: CXF-1774 > URL: https://issues.apache.org/jira/browse/CXF-1774 > Project: CXF > Issue Type: Improvement > Components: Transports > Affects Versions: 2.1.2 > Reporter: Christian Schneider > Fix For: 2.2 > > > Currently you have to configure all jms settings via JNDI. targetDestinat= ion is the only config property that already can additionally be configured= as a string. > I think the JNDI stuff does not belong into the JMS transport.=20 > ConnectionFactory should simply be configured as a refrence to a bean of = type jms ConnectionFactory. So the user of cxf is free to either setup the = ConnectionFactory locally or look it up via Spring=C2=B4s great JNDI suppor= t. > The same is true for targetDestination and replyDestination. They should = simply be injected. The JNDI logic should be deleted from JMS transport. Ad= ditionally it should be possible for targetDestination and replyDestination= to set them as simple strings as this is the most common way they will be = used by people.=20 > Fixing this will make the JMS Transport code simpler and at the same time= the CXF users will get greater flexibility in the configuration. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.