greenstar wrote:

willem.jiang wrote:
I just have a quick thought, how about using camel-mina component to do the http proxy. In this way, it just do the tcp layer work and will not get touch with headers and body.


In my particular case, I am doing various types of HTTP-level processing
before it is eventually proxied.  For example:  I have several services
behind camel:  For each proxied service I do 500 error hiding and reporting,
wiretapping for certain types of business operations, some CAS
authentication, and 503 (Service Unavailable) detours among other things...

Thanks for the suggestion though - camel-mina sounds great for tcp level
proxying.

I did some refactoring on current DefaultHttpBinding[1], now you can override the populateMessageHeader in your HttpBinding.

[1] https://issues.apache.org/activemq/browse/CAMEL-2673

Reply via email to