Kalpesh
Kalpesh

Reputation: 80

Application data Not visible in cloudhub

I have used objectstore in my application and app deploy on cloudhub. Cloudhub not showing objectstore in application data. Code:

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

Upvotes: 0

Views: 245

Answers (1)

Ryan Carter
Ryan Carter

Reputation: 11606

You have to use the Cloudhub default store _defaultUserObjectStorefor it to appear in 'Application Data':

object-store-ref="_defaultUserObjectStore"

Upvotes: 1

Related Questions