I was wondering if it was possible to have a publisher in jedis pushing messages onto a channel, and in a completely separate class, have a subscriber listening for messages on the same channel.
For example, for one class, have
jedis.publish(CHANNEL_NAME, entry.toString());
and on the other class, listen via
jedis.subscribe(subscriber, CHANNEL_NAME);
where subscriber is an inner class extending JedisPubSub.
Thanks for your help!