0 Replies Latest reply on Mar 23, 2018 11:07 AM by doyyan

    JBoss Switchyard REST header interceptor..

    doyyan

      Hi,

       

      My client server is calling a JBOSS Switchyard Bean which has a REST binding endpoint.

      The REST call has several parameters set in its HTTP header.

      I've tried a few things by Injecting Exchange/Message/Context etc to try and read the HTTP header values.

      But I haven't been able to so far successfully, as you know, the Bean appears to be running as a Camel Route. It looks like the REST calls data has already been stripped and sent to the Camel Route just as the transformed incoming object.

      Is there a way to read the HTTP header values?

       

      Best regards

       

      Ravi