HTTP request info cannot be accessed with REST binding in SwitchYard
Issue
- I have a SwitchYard project with a REST binding that is using a custom message composer.
- I'm trying to get the remote caller IP address and the path info in the compose method but so far I haven't found a way to do it.
- My custom imput message composer extends the
RESTEasyMessageComposer. I've tried to get it from the source headers but this info is not there. - Is there any way to access the original request's
HttpRequestInfoat this point? This way I could easily get the path info and the remote address.
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.