1 Reply Latest reply on Apr 1, 2013 12:32 PM by Tom Cunningham

    How to set HTTP header in http-gateway (async)

    Konstantin Vedernikov Newbie

        Hello all,

       

      I use HTTP gateway in asynchronous fashion.

      <asyncResponse> returns empty HTTP 200 response and works well.

       

      However I need to set additional http header in the response.

       

      As of my understaning solution at the bottom of the discussion won't work:

       

      https://community.jboss.org/message/621370

      (because ESB invokes service asynchronously, it cannot return a service response as part of it's synchronous HTTP response)

       

      My question - how can I set custom http heder using <asyncResponse>?

       

      Thank you.