camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" <claus.ib...@gmail.com>
Subject Re: HttpProducer: how to access the body of an error page?i
Date Thu, 13 Nov 2008 07:08:43 GMT
Hi Trevv

This is a good question.I have created a ticket in our tracker for this feature:
https://issues.apache.org/activemq/browse/CAMEL-1083

Are you btw using eg. ServiceMix as well since you mention the fault semantic?



On Thu, Nov 13, 2008 at 7:54 AM, Trevv <456@safe-mail.net> wrote:
>
> When a Web server sends an error page to HttpProducer, my Camel route
> needs to be able to process the _content_ of the error page.  How can
> I do this?  I was hoping that HttpProducer would put the content into
> exchange.fault, but instead it looks like the default behavior is to
> discard the error page content and make it available for GC, around
> lines 113-116 of HttpProducer.java (in Camel 1.5.0).  How can I
> override this behavior, and access the error page content?
> --
> View this message in context: http://www.nabble.com/HttpProducer%3A-how-to-access-the-body-of-an-error-page-i-tp20475651s22882p20475651.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/

Mime
View raw message