FluentProducerTemplate.on(context)
.withHeader(AtomixClientConstants.RESOURCE_ACTION, AtomixMap.Action.PUT)
.withHeader(AtomixClientConstants.RESOURCE_KEY, key)
.withHeader(AtomixClientConstants.RESOURCE_TTL, "1s")
.withBody(val)
.to("direct:start")
.send();
FluentProducerTemplate.on(context)
.withHeader(AtomixClientConstants.RESOURCE_ACTION, AtomixMap.Action.PUT)
.withHeader(AtomixClientConstants.RESOURCE_KEY, key)
.withHeader(AtomixClientConstants.RESOURCE_TTL, "1s")
.withBody(val)
.to("direct:start")
.send();
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow