I would like to subscribe to a wildcard wamp topic (i.e. "*"). I am using SubscriptionFlags.Wildcard with a topic name of empty string "". (see the code below). But the msg was not received.
Could you give me some idea and example code (preferred) on how the wildcard subscription would work? Thanks
Hello,
I would like to subscribe to a wildcard wamp topic (i.e. "*"). I am using SubscriptionFlags.Wildcard with a topic name of empty string "". (see the code below). But the msg was not received.
Could you give me some idea and example code (preferred) on how the wildcard subscription would work? Thanks
----code----- wampclient.makeSubscription("", SubscriptionFlags.Wildcard, String.class) .observeOn(rxScheduler) .subscribe(new Action1() {
@Override
public void call(String eventDetails) {
LOG.debug("event for 'onhello' received: " + eventDetails.toString());
}
});
BTW, another subscribe API shown as below does not work either. wampclient..makeSubscription("", SubscriptionFlags.Wildcard, String.class);
Regards, Jun