我在cloudhub上的应用程序和应用程序部署中使用了objectstore。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>发布于 2015-07-08 17:07:49
你必须使用Cloudhub默认存储_defaultUserObjectStore,它才会出现在“应用程序数据”中:
object-store-ref="_defaultUserObjectStore"https://stackoverflow.com/questions/31285170
复制相似问题