java - How to read parameter in mule esb -


I am sending some parameters for the malfunction that I am sending in 8081 listening through inbound.

  http: // localhost: 8081 / hey? Age = manoj  

But I do not know how can I get it from the message ?? I know that I can access it by message and payload, but when I try to do this

  # [message payload: ['age']]  < / Pre> 

I error is that the payload is a string type and I am very confused in the mule. I want a universal value.

If you are using Khachia 3.6 version or above, the expression has been changed. . So now, you need the following expression to get the value: -

  # [message.inboundProperties.'http.query.params'.age]  

You can find the context for the query here: -


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -