You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Justin Spears (JIRA)" <ji...@apache.org> on 2008/04/23 19:37:43 UTC

[jira] Created: (CAMEL-479) Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.

Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.
----------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-479
                 URL: https://issues.apache.org/activemq/browse/CAMEL-479
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-http
    Affects Versions: 1.3.0
            Reporter: Justin Spears
            Priority: Minor
         Attachments: camel-http-1.3.0.patch

This patch allows for POST/PUT/INFO/DELETE/GET to be specified via a header setHeader(HttpMethods.HTTP_METHOD, HttpMethods.PUT)  .  
It also fixes an issue with the original headers being lost when routing through an http exchange.   
It also fixes an issue of asynchronously handled http request by forcing the inputstream to be read and closed.  This last bit   might be wrong for some (in the cases of sending very large files reading them into memory could be an issue)  .   


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


[jira] Commented: (CAMEL-479) Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42462#action_42462 ] 

Claus Ibsen commented on CAMEL-479:
-----------------------------------

Not to be the rude person always asking for documentation. But never the less should there be any updates to the HTTP component documentation on the wiki for this new patch?

Justin, or others if you are up for it please feel free to contribute the needed documentation as well. It is even possible to add special snippet marker tags in java unit test code to let it be populate on the documentation page.

> Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-479
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-479
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>    Affects Versions: 1.3.0
>            Reporter: Justin Spears
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: camel-http-1.3.0.patch
>
>
> This patch allows for POST/PUT/INFO/DELETE/GET to be specified via a header setHeader(HttpMethods.HTTP_METHOD, HttpMethods.PUT)  .  
> It also fixes an issue with the original headers being lost when routing through an http exchange.   
> It also fixes an issue of asynchronously handled http request by forcing the inputstream to be read and closed.  This last bit   might be wrong for some (in the cases of sending very large files reading them into memory could be an issue)  .   

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


[jira] Updated: (CAMEL-479) Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.

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

Justin Spears updated CAMEL-479:
--------------------------------

    Attachment: camel-http-1.3.0.patch

made asf compatible.

> Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-479
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-479
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>    Affects Versions: 1.3.0
>            Reporter: Justin Spears
>            Priority: Minor
>         Attachments: camel-http-1.3.0.patch
>
>
> This patch allows for POST/PUT/INFO/DELETE/GET to be specified via a header setHeader(HttpMethods.HTTP_METHOD, HttpMethods.PUT)  .  
> It also fixes an issue with the original headers being lost when routing through an http exchange.   
> It also fixes an issue of asynchronously handled http request by forcing the inputstream to be read and closed.  This last bit   might be wrong for some (in the cases of sending very large files reading them into memory could be an issue)  .   

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


[jira] Resolved: (CAMEL-479) Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.

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

Willem Jiang resolved CAMEL-479.
--------------------------------

    Fix Version/s: 1.4.0
       Resolution: Fixed

Applied patch with thanks to Justin.

> Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-479
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-479
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>    Affects Versions: 1.3.0
>            Reporter: Justin Spears
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: camel-http-1.3.0.patch
>
>
> This patch allows for POST/PUT/INFO/DELETE/GET to be specified via a header setHeader(HttpMethods.HTTP_METHOD, HttpMethods.PUT)  .  
> It also fixes an issue with the original headers being lost when routing through an http exchange.   
> It also fixes an issue of asynchronously handled http request by forcing the inputstream to be read and closed.  This last bit   might be wrong for some (in the cases of sending very large files reading them into memory could be an issue)  .   

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


[jira] Updated: (CAMEL-479) Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.

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

Justin Spears updated CAMEL-479:
--------------------------------

    Attachment:     (was: camel-http-1.3.0.patch)

> Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-479
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-479
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>    Affects Versions: 1.3.0
>            Reporter: Justin Spears
>            Priority: Minor
>         Attachments: camel-http-1.3.0.patch
>
>
> This patch allows for POST/PUT/INFO/DELETE/GET to be specified via a header setHeader(HttpMethods.HTTP_METHOD, HttpMethods.PUT)  .  
> It also fixes an issue with the original headers being lost when routing through an http exchange.   
> It also fixes an issue of asynchronously handled http request by forcing the inputstream to be read and closed.  This last bit   might be wrong for some (in the cases of sending very large files reading them into memory could be an issue)  .   

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


[jira] Assigned: (CAMEL-479) Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.

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

Willem Jiang reassigned CAMEL-479:
----------------------------------

    Assignee: Willem Jiang

> Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-479
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-479
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>    Affects Versions: 1.3.0
>            Reporter: Justin Spears
>            Assignee: Willem Jiang
>            Priority: Minor
>         Attachments: camel-http-1.3.0.patch
>
>
> This patch allows for POST/PUT/INFO/DELETE/GET to be specified via a header setHeader(HttpMethods.HTTP_METHOD, HttpMethods.PUT)  .  
> It also fixes an issue with the original headers being lost when routing through an http exchange.   
> It also fixes an issue of asynchronously handled http request by forcing the inputstream to be read and closed.  This last bit   might be wrong for some (in the cases of sending very large files reading them into memory could be an issue)  .   

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


[jira] Closed: (CAMEL-479) Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.

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

Willem Jiang closed CAMEL-479.
------------------------------


> Http Component needs to be able to make Http calls including POST/PUT/INFO/DELETE/GET to support REST endpoints.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-479
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-479
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>    Affects Versions: 1.3.0
>            Reporter: Justin Spears
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: camel-http-1.3.0.patch
>
>
> This patch allows for POST/PUT/INFO/DELETE/GET to be specified via a header setHeader(HttpMethods.HTTP_METHOD, HttpMethods.PUT)  .  
> It also fixes an issue with the original headers being lost when routing through an http exchange.   
> It also fixes an issue of asynchronously handled http request by forcing the inputstream to be read and closed.  This last bit   might be wrong for some (in the cases of sending very large files reading them into memory could be an issue)  .   

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