Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCD5196F3 for ; Wed, 11 Jan 2012 21:32:56 +0000 (UTC) Received: (qmail 97022 invoked by uid 500); 11 Jan 2012 21:32:55 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 96950 invoked by uid 500); 11 Jan 2012 21:32:55 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 96942 invoked by uid 99); 11 Jan 2012 21:32:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 21:32:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bimargulies@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 21:32:50 +0000 Received: by werf1 with SMTP id f1so1182447wer.0 for ; Wed, 11 Jan 2012 13:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=kI9t9P/jt1cyc4jK+I/vzEf8y4ycRuiAib9k9g+ci5s=; b=EHKY12h9tj0wHTCmAKOWyU2LBqS/kO+r78lpRDEs0Xay5sEIcyMGKAon4ydGk3j0ku IQkXDGA+l5/QJJcgUK2QvSnEpPTNG1rbKSc6IncxqB0fBqNhaY7sNDFj0/BKem8rOwkg rE711/zoYW2YHOiY6K9tBpWkdlNPuPWojOIL8= MIME-Version: 1.0 Received: by 10.216.82.138 with SMTP id o10mr391048wee.35.1326317549617; Wed, 11 Jan 2012 13:32:29 -0800 (PST) Received: by 10.180.93.5 with HTTP; Wed, 11 Jan 2012 13:32:29 -0800 (PST) In-Reply-To: <4F0DF649.5070302@gmail.com> References: <4F0DF649.5070302@gmail.com> Date: Wed, 11 Jan 2012 16:32:29 -0500 Message-ID: Subject: Re: Mapping spring to Java for a feature From: Benson Margulies To: users@cxf.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Jan 11, 2012 at 3:51 PM, Willem Jiang wrot= e: > Hi, > > Yes, =C2=A0you can set the feature as the spring does in Java code. I've filed a JIRA about how this is harder to do than it might be. I'll also update the page to show a Java example now that I have one. > > > On Thu Jan 12 00:07:04 2012, Benson Margulies wrote: >> >> What's the following in Java? Create a JMSConfig object and then add >> it as a feature? >> >> =C2=A0> =C2=A0 =C2=A0 =C2=A0 =C2=A0xmlns:customer=3D"http://customerservice.exam= ple.com/" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0serviceName=3D"customer:CustomerServiceServic= e" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0endpointName=3D"customer:CustomerServiceEndpo= int" address=3D"jms://" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0serviceClass=3D"com.example.customerservice.C= ustomerService"> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> >> =C2=A0class=3D"org.apache.cxf.transport.jms.JMSConfigFeature" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0p:jmsConfig-ref=3D"jmsConfig"/> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >> >> > > > > -- > Willem > ---------------------------------- > FuseSource > Web: http://www.fusesource.com > Blog: =C2=A0 =C2=A0http://willemjiang.blogspot.com (English) > =C2=A0 =C2=A0 =C2=A0 =C2=A0http://jnn.javaeye.com (Chinese) > Twitter: willemjiang Weibo: willemjiang