【发布时间】:2018-04-13 12:36:52
【问题描述】:
<flow..>
<http:listener-config name="HTTP_Listener_Configuration" host="${http.hostname}" port="${http.port}" basePath="${http.base.path}" doc:name="HTTP Listener Configuration"/>
<http:listener config-ref="HTTP_Listener_Configuration" path="store/*" doc:name="HTTP"/>
Old http end point
<!-- <http:inbound-endpoint address="http://${http.hostname}:${http.port}/${http.base.path}/store" doc:name="HTTP" exchange-pattern="request-response">
<object-to-string-transformer />
</http:inbound-endpoint> -->
<apikit:router config-ref="store-api-config" doc:name="APIkit Router" />
</flow>
<flow name="get:/rates/search:smartstore-api-config">
<logger message=" #[message.inboundProperties['referenceDate']]" level="INFO" doc:name="Log Request"/>
</flow>
当我尝试调用 url 时,我在记录器中得到空值。如果我启用旧的 http 端点它工作正常。
http://localhost:8899/apis/myapp/myrates/search?referenceDate=2015-01-01
我试过这个link,但没有用。
【问题讨论】:
标签: mule