Почему входящая конечная точка Mule http всегда является запросом GET. Я регистрирую тип метода http, и он всегда регистрирует тип GET, даже если я указал тип метода PUT в конечной точке http
входящего трафика.
<http:inbound-endpoint exchange-pattern="request-response"
path="testPath" doc:name="HTTP"
host="localhost" port="8083"
mimeType="application/json"
method="PUT"/>
<logger level="INFO" message="method type #[message.inboundProperties['http.method']]"
doc:name="Logger"/> <--- It always logs method is GET
It never go into following expression block:
<choice doc:name="Choice">
<when expression="#[message.inboundProperties['http.method']=='PUT']">
Я хотел бы установить метод http как «PUT» в конечной точке входящего трафика http.