Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-3027

How to retrieve REST header values in Switchyard Camel routes.

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                doyyan Ravikumar Sivaraj
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: