cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Mapping spring to Java for a feature
Date Wed, 11 Jan 2012 21:32:29 GMT
On Wed, Jan 11, 2012 at 3:51 PM, Willem Jiang <willem.jiang@gmail.com> wrote:
> Hi,
>
> Yes,  you 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?
>>
>>  <jaxws:client id="CustomerService"
>>        xmlns:customer="http://customerservice.example.com/"
>>        serviceName="customer:CustomerServiceService"
>>        endpointName="customer:CustomerServiceEndpoint" address="jms://"
>>        serviceClass="com.example.customerservice.CustomerService">
>>        <jaxws:features>
>>                <bean xmlns="http://www.springframework.org/schema/beans"
>>
>>  class="org.apache.cxf.transport.jms.JMSConfigFeature"
>>                        p:jmsConfig-ref="jmsConfig"/>
>>        </jaxws:features>
>> </jaxws:client>
>>
>
>
>
> --
> Willem
> ----------------------------------
> FuseSource
> Web: http://www.fusesource.com
> Blog:    http://willemjiang.blogspot.com (English)
>        http://jnn.javaeye.com (Chinese)
> Twitter: willemjiang Weibo: willemjiang

Mime
View raw message