0

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

<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>
4

1 回答 1

1

您必须使用 Cloudhub 默认存储 _defaultUserObjectStore,它才能出现在“应用程序数据”中:

object-store-ref="_defaultUserObjectStore"
于 2015-07-08T09:07:48.543 回答