Announcement Announcement Module
Collapse
No announcement yet.
identify which channel message is coming from Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • identify which channel message is coming from

    Probably missing something simple but

    I am publishing to several channels, for instance quotes:ibm, quotes:bac.

    When I subscribe to quotes:* I am getting the data but I really need to know the specific origin, ie which symbol the quote is from.

    I am using the basic pojo from the doc

    public class DefaultMessageDelegate implements MessageDelegate {

    @Override
    public void handleMessage(String message) {
    logger.debug(message);

    }
    }

    can I modify the argument in handleMessage to get the the full redis message?

    1) "pmessage"
    2) "quotes:*"
    3) "quotes:ibm"
    4) "165.50"

  • #2
    Not sure what happened since I've already answered this post but maybe it was a dupe:
    https://jira.springsource.org/browse/DATAREDIS-77

    Comment

    Working...
    X