-
-
Save rossmason/1297649 to your computer and use it in GitHub Desktop.
Mule Redis DS Ops
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Store the current message payload under my_key | |
with the provided TTL --> | |
<redis:set key="my_key" expire="3600" /> | |
<!-- Retrieve the value --> | |
<redis:get key="my_key" /> | |
<!-- Specific data structures are supported --> | |
<redis:hash-set key="my_key" field="my_field" /> | |
<redis:hash-get key="my_key" field="my_field" /> | |
<redis:list-push key="my_key" side="LEFT" ifExists="true" /> | |
<redis:list-pop key="my_key" side="RIGHT" /> | |
<redis:set-add key="my_key" /> | |
<redis:set-fetch-random-member key="my_key" /> | |
<redis:set-pop key="my_key" /> | |
<redis:sorted-set-add key="my_key" score="123" /> | |
<redis:sorted-set-select-range-by-score key="my_key" | |
min="10" | |
max="0.5" | |
order="DESCENDING" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment