Can you subscribe to all topics ?

#1

Hello,

I tried something like this :

session.subscribe(callback, “*”)

But It didn’t seem to work. Fair enought.

Also I was kinda expecting that if somebody triggers this :

session.publish(‘com.event.stuff’)

Then somebody doing :

session.subscribe(callback, “com.event.*”) would receive the message.

Is there a way to do this ? Is it planned ?

It’s in now way a requirement for me, but I tried to make a dashboard listing all broadcasted event with some filters to monitor the crossbar node and couldn’t find a way to do it.

Cheers

0 Likes

#2

Ok I found this :

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#wildcard-matching

But I still don’t get how to say “send me everything”. An empty string ?

···

On Friday, April 11, 2014 10:11:40 PM UTC+2, Michel Desmoulin wrote:

Hello,

I tried something like this :

session.subscribe(callback, “*”)

But It didn’t seem to work. Fair enought.

Also I was kinda expecting that if somebody triggers this :

session.publish(‘com.event.stuff’)

Then somebody doing :

session.subscribe(callback, “com.event.*”) would receive the message.

Is there a way to do this ? Is it planned ?

It’s in now way a requirement for me, but I tried to make a dashboard listing all broadcasted event with some filters to monitor the crossbar node and couldn’t find a way to do it.

Cheers

0 Likes

#3

Ok I found this :

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#wildcard-matching

Yep. That's the feature .. and it'll soon be in Crossbar.

But I still don't get how to say "send me everything". An empty string ?

Not finally decided how we'll implement it, but either empty string or "*" will allow you to subscribe to "world" (if the router permits you to do so per authorization ..)

···

Am 11.04.2014 22:24, schrieb Michel Desmoulin:

On Friday, April 11, 2014 10:11:40 PM UTC+2, Michel Desmoulin wrote:

    Hello,

    I tried something like this :

    session.subscribe(callback, "*")

    But It didn't seem to work. Fair enought.

    Also I was kinda expecting that if somebody triggers this :

    session.publish('com.event.stuff')

    Then somebody doing :

    session.subscribe(callback, "com.event.*") would receive the message.

    Is there a way to do this ? Is it planned ?

    It's in now way a requirement for me, but I tried to make a
    dashboard listing all broadcasted event with some filters to monitor
    the crossbar node and couldn't find a way to do it.

    Cheers

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#4

Ok thanks :slight_smile:

···

On Saturday, April 12, 2014 12:37:11 PM UTC+2, Tobias Oberstein wrote:

Am 11.04.2014 22:24, schrieb Michel Desmoulin:

Ok I found this :

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#wildcard-matching

Yep. That’s the feature … and it’ll soon be in Crossbar.

But I still don’t get how to say “send me everything”. An empty string ?

Not finally decided how we’ll implement it, but either empty string or
“*” will allow you to subscribe to “world” (if the router permits you to
do so per authorization …)

On Friday, April 11, 2014 10:11:40 PM UTC+2, Michel Desmoulin wrote:

Hello,
I tried something like this :
session.subscribe(callback, "*")
But It didn't seem to work. Fair enought.
Also I was kinda expecting that if somebody triggers this :
session.publish('com.event.stuff')
Then somebody doing :
session.subscribe(callback, "com.event.*") would receive the message.
Is there a way to do this ? Is it planned ?
It's in now way a requirement for me, but I tried to make a
dashboard listing all broadcasted event with some filters to monitor
the crossbar node and couldn't find a way to do it.
Cheers

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes