2016-01-13 63 views
1

使用Mule Ajax连接器,是否可以确定客户端的IP地址?我可以从Mule AJAX入站端点获取客户端IP吗?

<ajax:inbound-endpoint channel="/services/testservice" connector-ref="AjaxConnector" responseTimeout="10000" doc:name="AJAX Test"/> 
<logger message="#[What Would I put here to get me the client IP]" level="INFO" doc:name="Logger"/> 

回答

1

OMG,使用的骡子CometD版本比恐龙更古老!

Mule基本上使用了近10年前的版本0.x,当时CometD仍然在org.mortbay.cometd命名空间下。

从那时起,CometD就以org.cometd的名字空间毕业了一个独立的项目。

CometD目前的版本是3.x,而目前的API确实有办法检索客户端的IP地址。

某人与JIRA登录请file an issue Mulesoft。

+0

谢谢。我会在我的JIRA登录工作时报告问题。 –