How I can do for this example, located on Mule ESB documentation, work ?:
<http:request-config name="HTTP_Request_Configuration" host="example.com" port="8081" doc:name="HTTP_Request_Configuration"/>
<flow name="test_flow">
<set-variable variableName="customMap" value="#[{'k2':'new', 'k3':'v3'}]" /
<http:request request-config="HTTP_Request_Configuration" path="test" method="GET">
<http:request-builder>
<http:query-params expression="#[flowVars.custonMap]" />
</http:request-builder>
</http:request>
</flow>
I am giving me this error!
- Message : null (java.lang.NullPointerException). Message payload is of type:
- String Code : MULE_ERROR--2
Exception stack is:
- null (java.lang.NullPointerException) org.mule.module.http.internal.HttpMapParam:41 (null)
- null (java.lang.NullPointerException). Message payload is of type: String (org.mule.api.MessagingException)
org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:32 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)