From Dan Kenigsberg <dan...@redhat.com>:

Dan Kenigsberg has submitted this change and it was merged.

Change subject: reactor: Support hierarchical subscriptions to all messages
......................................................................


reactor: Support hierarchical subscriptions to all messages

This patch adds the hierarchical subscription capability to the
STOMP reactor.

Any client subscribing to 'some.topic' will be effectively
subscribed also to 'some.topic.a', 'some.topic.b', ... meaning
the client will get all messages sent to topics that start with
the subscribed to destination name.

This allows clients (including VDSM itself) to use a single
subscription and receive all JSON-RPC commands from a group
event though the group uses separate topic names for each command.

Example:

Subscription to jms.commands will also allow you to receive
messages sent to jms.commands.getCaps.

But you can also subscribe just to jms.commands.getCaps
when you are not interested in the whole group.

Change-Id: Ied021a984049c133a2de21c840a475ac69a82cc3
Signed-off-by: Martin Sivak <msi...@redhat.com>
---
M lib/yajsonrpc/stompreactor.py
M tests/stompadapter_test.py
2 files changed, 66 insertions(+), 5 deletions(-)

Approvals:
  Piotr Kliczewski: Looks good to me, approved
  Nir Soffer: Looks good to me, but someone else must approve
  Martin Sivák: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/59638
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ied021a984049c133a2de21c840a475ac69a82cc3
Gerrit-PatchSet: 15
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: Andrej Krejcir <akrej...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Denis Chaplygin <dchap...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Irit Goihman <igoih...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Jenny Tokar <jto...@redhat.com>
Gerrit-Reviewer: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Phillip Bailey <phbai...@redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczew...@gmail.com>
Gerrit-Reviewer: Roman Mohr <rm...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Yanir Quinn <yqu...@redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
_______________________________________________
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org

Reply via email to