I am bit new at Mule ESB and Anypoint Studio so I am trying to figure out how to fetch HTTP query parameters in a java transformer class.
I have tried
String firstname = message.getInboundProperty("fname");
String lastName = message.getInboundProperty("lname");
even went with
Map<String, String> queryParams = message.getInboundProperty("http.query.params");
String firstname = queryParams.get("fname");
String lastname = queryParams.get("lname");
but they return null values, I have even tried to use Callable Interface but I think it only possible to use it if it's a JAVA Component.
Do please let me know,
Thanks.