应用程序数据在cloudhub中不可见

时间:2015-07-08 06:36:40

标签: mule mule-studio mule-component mule-el cloudhub

我在我的应用程序中使用了objectstore,并在cloudhub上部署了app。 Cloudhub未在应用程序数据中显示objectstore。 代码:

<flow name="testFlow1" doc:name="testFlow1">
    <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" path="test" doc:name="HTTP"/>
    <objectstore:store config-ref="ObjectStore" key="new" value-ref="#['kalpesh']" doc:name="ObjectStore"/>
    <objectstore:retrieve config-ref="ObjectStore" key="new" doc:name="ObjectStore"/>
    <logger message="#[payload]" level="INFO" doc:name="Logger"/>
</flow>

1 个答案:

答案 0 :(得分:1)

您必须使用Cloudhub默认商店_defaultUserObjectStore才能显示在“应用数据”中:

object-store-ref="_defaultUserObjectStore"