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

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

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


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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SM-1725:
--------------------------------

    Assignee: Freeman Fang

> 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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SM-1725.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.4
                   3.3.1
                   servicemix-cxf-bc-2008.02

> 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
>             Fix For: servicemix-cxf-bc-2008.02, 3.3.1, 3.2.4
>
>
> 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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SM-1725 started by Freeman Fang.

> 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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48063#action_48063 ] 

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

Hi Ron,

The useJms11 just for demonstrating that it could be done.
Yeah, the fix for trunk would be come soon.

Cheers
Freeman

> 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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48064#action_48064 ] 

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

commit fix
http://svn.apache.org/viewvc?rev=725626&view=rev for trunk

> 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
>             Fix For: servicemix-cxf-bc-2008.02, 3.3.1, 3.2.4
>
>
> 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.


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

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48062#action_48062 ] 

Ron Gavlin commented on SM-1725:
--------------------------------

Hi Freeman,

Great stuff! Thanks for the timely support.

BTW, in your example/test case, you explicitly set property "useJms11" to false. Was this specifically required for AMQ or was this done simply to demonstrate that it could be done?

Also, I presume this patch will be targeted for the trunk at some point in the future when you get around to testing it, correct?

Thanks again,

/Ron


> 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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48105#action_48105 ] 

Daniel Kulp commented on SM-1725:
---------------------------------


Just wanted to mention that useJms11=false should be the default as the old non-spring JMS transport only used the 1.0.2 API's.   For CXF 2.1.x and 2.0.x, we're going to keep it useJms11=false for compatibility.   For 2.2, we're going to change that default to true.

> 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
>             Fix For: servicemix-cxf-bc-2008.02, 3.3.1, 3.2.4
>
>
> 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.