Matthias247 / jawampa

Web Application Messaging Protocol (WAMP v2) support for Java
Apache License 2.0
148 stars 56 forks source link

wildcard subscribe issue #78

Open junzoutech opened 8 years ago

junzoutech commented 8 years ago

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

junzoutech commented 8 years ago

hello,

The ticket I submitted has been 7 days. Could somebody respond to it? Thanks

Regards Jun