我在我的应用程序中使用了 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>