Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 16227 invoked from network); 21 Nov 2008 08:12:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2008 08:12:05 -0000 Received: (qmail 48023 invoked by uid 500); 21 Nov 2008 08:12:14 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 48000 invoked by uid 500); 21 Nov 2008 08:12:14 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 47988 invoked by uid 99); 21 Nov 2008 08:12:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 00:12:14 -0800 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 08:10:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 62EE9234C296 for ; Fri, 21 Nov 2008 00:11:05 -0800 (PST) Message-ID: <1200970558.1227255065403.JavaMail.jira@brutus> Date: Fri, 21 Nov 2008 00:11:05 -0800 (PST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Work started: (CAMEL-1083) camel-http - should store content of response for http errors In-Reply-To: <2147370565.1226559965375.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-1083 started by Claus Ibsen. > camel-http - should store content of response for http errors > ------------------------------------------------------------- > > Key: CAMEL-1083 > URL: https://issues.apache.org/activemq/browse/CAMEL-1083 > Project: Apache Camel > Issue Type: Improvement > Components: camel-http > Affects Versions: 1.5.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 1.5.1, 2.0.0 > > Attachments: camel_1083.patch > > > Currently we do not store the content if there was a eg HTTP error 500 returned. But throw a HttpOperationFailedException. > We should store the content also so end-users have access to this one as well. Maybe add some strategy methods on the HttpProducer so end users can override this class and create their own implementation. > See nabble: > http://www.nabble.com/HttpProducer%3A-how-to-access-the-body-of-an-error-page-i-td20475651s22882.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.