On Fri, 2013-08-09 at 19:47 -0700, Hiranya Jayathilaka wrote:
> Hi Oleg,
> 
> I'm attempting to migrate Synapse to HTTP Core 4.3. We have code similar to 
> the following fragment in several places in the passthrough and NHTTP 
> transports:
> 
>             httpContext.setAttribute(ExecutionContext.HTTP_CONNECTION, conn);
>             httpContext.setAttribute(ExecutionContext.HTTP_REQUEST, null);
>             httpContext.setAttribute(ExecutionContext.HTTP_RESPONSE, 
> response);
> 
> It looks like ExecutionContext is deprecated in 4.3. What is the alternative 
> to that? Or do we need the above code segment at all with the latest Http 
> Core?
> 
> Thanks,
> Hiranya


Hi Hiranya 

Use HttpCoreContext instead.

http://hc.apache.org/httpcomponents-core-4.3.x/httpcore/apidocs/org/apache/http/protocol/HttpCoreContext.html

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to