You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2012/05/29 17:27:23 UTC

[jira] [Created] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Willem Jiang created CXF-4350:
---------------------------------

             Summary: CXF JMS transport should support to JAXRS fontend client out of box
                 Key: CXF-4350
                 URL: https://issues.apache.org/jira/browse/CXF-4350
             Project: CXF
          Issue Type: Improvement
          Components: Transports
            Reporter: Willem Jiang
            Assignee: Willem Jiang


Current JMS transport doesn't send out Message.REQUEST_URI and
Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CXF-4350:
------------------------------

    Attachment:     (was: cxfrs-jms.patch)
    
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396733#comment-13396733 ] 

Sergey Beryozkin commented on CXF-4350:
---------------------------------------

Hi Willem - will be working on applying the rest of the patch soon
                
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Sergey Beryozkin
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397534#comment-13397534 ] 

Willem Jiang commented on CXF-4350:
-----------------------------------

@Sergey,
I just have a quick at the patch, the WebClient and proxy work perfect, thanks for your ehancement.

                
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Sergey Beryozkin
>             Fix For: 2.6.2, 2.7.0
>
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-4350.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0
                   2.6.2
    
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Sergey Beryozkin
>             Fix For: 2.6.2, 2.7.0
>
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295041#comment-13295041 ] 

Willem Jiang commented on CXF-4350:
-----------------------------------

Just added the patch of cxfrs and jms transport.

This patch introduced a message header for the restful request and the jms transport will setup the jms properties for it.

I also added a system test in the JAXRSJmsTest for show how to use jms URI to setup the service address. As I didn't find a way to setup the REQUEST_URI message header through the WebClient API, I just add a JAXRSFeature to update the header for testing.


                
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295601#comment-13295601 ] 

Sergey Beryozkin commented on CXF-4350:
---------------------------------------

Hi Willem, I'm going to apply one part of this patch for resolving CXF-3562 (and CXF-4378) first, and then will work on applying the second patch next week, I'll ping you if I need some clarifications, many thanks
                
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin reassigned CXF-4350:
-------------------------------------

    Assignee: Sergey Beryozkin  (was: Willem Jiang)
    
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Sergey Beryozkin
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CXF-4350:
------------------------------

    Fix Version/s: 2.5.5

Just merged the patch into 2.5.x-fixes branch.
                
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Sergey Beryozkin
>             Fix For: 2.5.5, 2.6.2, 2.7.0
>
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CXF-4350:
------------------------------

    Attachment: cxfrs-jms.patch
    
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CXF-4350:
------------------------------

    Attachment: cxfrs-jms.patch
    
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4350) CXF JMS transport should support to JAXRS fontend client out of box

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397472#comment-13397472 ] 

Sergey Beryozkin commented on CXF-4350:
---------------------------------------

Willem, I've applied the rest of the patch with very minor modifications, please see the system tests.
Overall I think it is a very good enhancement. I would probably not popularize the use of WebClient & JMS :-), but having proxies working with JMS makes sense to me. Even more importantly, both proxies and WebClient will probably work just fine now with local transports, which I'll look into asap.
Thanks




                
> CXF JMS transport should support to JAXRS fontend client out of box
> -------------------------------------------------------------------
>
>                 Key: CXF-4350
>                 URL: https://issues.apache.org/jira/browse/CXF-4350
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Willem Jiang
>            Assignee: Sergey Beryozkin
>         Attachments: cxfrs-jms.patch
>
>
> Current JMS transport doesn't send out Message.REQUEST_URI and
> Message.HTTP_REQUEST_METHOD properties as the HTTP transport does.
> We need to add these headers when the jaxrs frondend client is used with JMS transport. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira