How can I access HTTP request info within SwitchYard component in FSW?

Solution Verified - Updated -

Issue

  • I want to get request information from HTTP request in a SwitchYard component as follows:
String requestUrl = requestInfo.getRequestURI();
List<String> pathInfoTokens = requestInfo.getPathInfoTokens();
...
  • How can I do it in SwitchYard?
  • How can we access the client ip address in Switchyard?

Environment

  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content