You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2008/12/11 08:54:05 UTC

[jira] Commented: (SM-1725) Add "features" support from cxf to the smx-cxf-bc endpoint

    [ https://issues.apache.org/activemq/browse/SM-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48059#action_48059 ] 

Freeman Fang commented on SM-1725:
----------------------------------

commit fix
http://svn.apache.org/viewvc?rev=725611&view=rev t0 3.2 branch

now we can configure features for cxf bc endpoint like
<cxfbc:consumer wsdl="org/apache/servicemix/cxfbc/ws/security/hello_world.wsdl"
                      service="greeter:HelloWorldService"
                      endpoint="HelloWorldPort"
                      targetEndpoint="HelloWorldPortProxy"
                      targetService="greeter:HelloWorldService"
                      targetInterface="greeter:Greeter"
                      >
        <cxfbc:features>
           <bean class="org.apache.cxf.transport.jms.JMSConfigFeature">
                <property name="jmsConfig">
                    <bean class="org.apache.cxf.transport.jms.JMSConfiguration">
                        <property name="concurrentConsumers">
                            <value>5</value>
                        </property>
                        <property name="connectionFactory">
                            <ref bean="myConnectionFactory" />
                        </property>
                        <property name="targetDestination">
                            <value>test.jmstransport.text</value>
                        </property>
                        <property name="useJms11">
                            <value>false</value>
                        </property>
                    </bean>
                </property>
            </bean>
        </cxfbc:features>
      </cxfbc:consumer>
      <cxfbc:provider wsdl="org/apache/servicemix/cxfbc/ws/security/hello_world.wsdl"
                      service="greeter:HelloWorldService"
                      endpoint="HelloWorldPortProxy"
                      interfaceName="greeter:Greetr"
                      busCfg="org/apache/servicemix/cxfbc/jms_test_timeout_provider.xml"
                     >
         <cxfbc:features>
           <bean class="org.apache.cxf.transport.jms.JMSConfigFeature">
                <property name="jmsConfig">
                    <bean class="org.apache.cxf.transport.jms.JMSConfiguration">
                        <property name="concurrentConsumers">
                            <value>5</value>
                        </property>
                        <property name="connectionFactory">
                            <ref bean="myConnectionFactory" />
                        </property>
                        <property name="targetDestination">
                            <value>test.jmstransport.text.provider</value>
                        </property>
                        <property name="useJms11">
                            <value>false</value>
                        </property>
                    </bean>
                </property>
            </bean>
        </cxfbc:features>
      </cxfbc:provider>

> Add "features" support from cxf to the smx-cxf-bc endpoint
> ----------------------------------------------------------
>
>                 Key: SM-1725
>                 URL: https://issues.apache.org/activemq/browse/SM-1725
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: servicemix-cxf-bc-2008.01
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>
> The "bus" element in http://cxf.apache.org/schemas/core.xsd has a "features" child element in addition to four "interceptor" child elements. The smx-cxf-bc endpoint currently allows the four "interceptor" child elements to be configured directly. However, in order to configure the "features", a separate busCfg file is required. 
> It would be useful to be able to directly configure the "features" on the smx-cxf-bc endpoints in a similar fashion to how the interceptors may be configured.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.