title: Get message inbound properties
body: <p>im having trouble getting message inbound properties, somehow its coming as null, here is the code:</p>
  
  <pre><code>&lt;scripting:transformer name="noopLoggingTransformer"&gt;
      &lt;scripting:script engine="groovy"&gt;
          log.info "${message.getInboundProperty('user-agent')}"
          muleContext.client.dispatch('vm://log-request.in', message)
          message
       &lt;/scripting:script&gt;
  &lt;/scripting:transformer&gt;
  
  &lt;pattern:web-service-proxy name="service" transformer-refs="noopLoggingTransformer" inboundAddress="${serverName}/services/Logradouros/LogradouroServico" outboundAddress="${targetServer}/servicos/v2/service.svc" wsdlFile="LogradouroServicos.wsdl"&gt;
  &lt;/pattern:web-service-proxy&gt;
  
  &lt;jdbc-ee:postgresql-data-source name="WSA" user="${database.user}" password="${database.pass}" url="${database.url}" transactionIsolation="UNSPECIFIED" doc:name="PostgreSQL Data Source"&gt;
  &lt;/jdbc-ee:postgresql-data-source&gt;
  
  &lt;jdbc-ee:connector name="jdbcConnector" dataSource-ref="WSA" validateConnections="false" transactionPerMessage="true" queryTimeout="10" pollingFrequency="10000" doc:name="JDBC"&gt; 
      &lt;jdbc-ee:query key="wsadb" value="insert into inbound_messages (payload, timestamp, agent, ip_from, endpoint, soap_operation) values ('', now(), #[groovy: return message.getInboundProperty('user-agent').toString()], #[groovy: return message.getInboundProperty('MULE_REMOTE_CLIENT_ADDRESS').toString()], #[groovy: return message.getInboundProperty('http.request').toString()], '');"&gt;&lt;/jdbc-ee:query&gt;  
  &lt;/jdbc-ee:connector&gt;
  
  &lt;flow name="log-request" doc:name="log-request"&gt; 
      &lt;vm:inbound-endpoint path="log-request.in" /&gt;
      &lt;logger message="#[message.inboundProperties['user-agent']]" level="INFO" doc:name="Logger"/&gt;
      &lt;jdbc-ee:outbound-endpoint exchange-pattern="one-way" queryKey="wsadb" responseTimeout="10000" queryTimeout="-1" connector-ref="jdbcConnector" doc:name="Persist raw message" /&gt;
  &lt;/flow&gt;
  </code></pre>
  
  <p>What it prints out is "null" and i dont know how to make it print the property from message...</p>