You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/10/01 07:24:40 UTC

[jira] Created: (CAMEL-3184) restlet - Add throwExceptionOnFailure option

restlet - Add throwExceptionOnFailure option
--------------------------------------------

                 Key: CAMEL-3184
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3184
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-restlet
    Affects Versions: 2.4.0
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.6.0


Add the {{throwExceptionOnFailure}} option to the restlet component. This makes it easier for end users to deal with error handling when it returns != 200.
Then it also works as the http component.

The option should be default true. Which means people can turn it false if they want the old behavior.

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


[jira] Assigned: (CAMEL-3184) restlet - Add throwExceptionOnFailure option

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

Ashwin Karpe reassigned CAMEL-3184:
-----------------------------------

    Assignee: Ashwin Karpe

> restlet - Add throwExceptionOnFailure option
> --------------------------------------------
>
>                 Key: CAMEL-3184
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3184
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-restlet
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> Add the {{throwExceptionOnFailure}} option to the restlet component. This makes it easier for end users to deal with error handling when it returns != 200.
> Then it also works as the http component.
> The option should be default true. Which means people can turn it false if they want the old behavior.

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


[jira] Commented: (CAMEL-3184) restlet - Add throwExceptionOnFailure option

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

Claus Ibsen commented on CAMEL-3184:
------------------------------------

See nabble
http://camel.465427.n5.nabble.com/Restlet-HTTP-status-and-message-tp3047023p3047023.html

> restlet - Add throwExceptionOnFailure option
> --------------------------------------------
>
>                 Key: CAMEL-3184
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3184
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-restlet
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> Add the {{throwExceptionOnFailure}} option to the restlet component. This makes it easier for end users to deal with error handling when it returns != 200.
> Then it also works as the http component.
> The option should be default true. Which means people can turn it false if they want the old behavior.

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


[jira] Updated: (CAMEL-3184) restlet - Add throwExceptionOnFailure option

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

Johan Edstrom updated CAMEL-3184:
---------------------------------

    Attachment: Camel____Restlet_producer_exception.patch

Cleaned up the github stuff.

> restlet - Add throwExceptionOnFailure option
> --------------------------------------------
>
>                 Key: CAMEL-3184
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3184
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-restlet
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: 0001-Restlet-throwException-on-failure-on-the-producer-co.patch, Camel____Restlet_producer_exception.patch
>
>
> Add the {{throwExceptionOnFailure}} option to the restlet component. This makes it easier for end users to deal with error handling when it returns != 200.
> Then it also works as the http component.
> The option should be default true. Which means people can turn it false if they want the old behavior.

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


[jira] Updated: (CAMEL-3184) restlet - Add throwExceptionOnFailure option

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

Johan Edstrom updated CAMEL-3184:
---------------------------------

    Attachment: 0001-Restlet-throwException-on-failure-on-the-producer-co.patch

> restlet - Add throwExceptionOnFailure option
> --------------------------------------------
>
>                 Key: CAMEL-3184
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3184
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-restlet
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: 0001-Restlet-throwException-on-failure-on-the-producer-co.patch
>
>
> Add the {{throwExceptionOnFailure}} option to the restlet component. This makes it easier for end users to deal with error handling when it returns != 200.
> Then it also works as the http component.
> The option should be default true. Which means people can turn it false if they want the old behavior.

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