All available publications

#1

Hi all! Is any method to get all router’s available(registered) publications?
I’m using Tornado + tornado.platform.twisted + Autobahn and want to subscribers can list publications.

0 Likes

#2

Hi all! Is any method to get all router's available(registered)
publications?
I'm using Tornado + tornado.platform.twisted + Autobahn and want to
subscribers can list publications.

Not sure I get what you mean, but there are 2 optional features in the advanced profile of WAMP that might match it:

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#subscriber-list

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#event-history

As you can see from the text, the definition of those features isn't fully done yet.

In general, the "Advanced Profile" will be implmented (parts of it already are) in Crossbar.io. Those won't be implemented in the "Basic Router" that is included with AutobahnPython ..

···

Am 02.04.2014 10:19, schrieb Ilya Travkin:

--
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

#3

Thanks for answer. I’m new in WAMP and not good in it’s terminology. My corrected question is “is any way to gel all topics on router?” I’m going to public messages from different hardware to corresponding topics and needs some technic to inform clients(subscribers) about available topics.

···

среда, 2 апреля 2014 г., 13:55:56 UTC+4 пользователь Tobias Oberstein написал:

Am 02.04.2014 10:19, schrieb Ilya Travkin:

Hi all! Is any method to get all router’s available(registered)

publications?

I’m using Tornado + tornado.platform.twisted + Autobahn and want to

subscribers can list publications.

Not sure I get what you mean, but there are 2 optional features in the
advanced profile of WAMP that might match it:

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#subscriber-list

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#event-history

As you can see from the text, the definition of those features isn’t
fully done yet.

In general, the “Advanced Profile” will be implmented (parts of it
already are) in Crossbar.io. Those won’t be implemented in the “Basic
Router” that is included with AutobahnPython …

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

#4

Ilya,

···

Am 02.04.2014 18:01, schrieb Ilya Travkin:

Thanks for answer. I'm new in WAMP and not good in it's terminology. My
corrected question is "is any way to gel all _topics_ on router?" I'm
going to public messages from different hardware to corresponding topics
and needs some technic to inform clients(subscribers) about available
topics.

The set of topics isn't fixed at the router. Consequently, there isn't a method of retrieving a "list of available" topics.

A client simply subscribes or publishes to a topic it wishes. If the router allows subscription/publication to the topic, it'll act accordingly.

/Tobias

0 Likes

#5

Tobias, does this mean that if we would like to use the advanced features of WAMP that we must use Crossbar.io? Or will it eventually be implemented into the Basic Router that is included with Autobahn Python, but just not for a while? This would tell me a bit more about how to proceed with my project.

Jess

···

On Wednesday, April 2, 2014 5:55:56 AM UTC-4, Tobias Oberstein wrote:

Am 02.04.2014 10:19, schrieb Ilya Travkin:

Hi all! Is any method to get all router’s available(registered)

publications?

I’m using Tornado + tornado.platform.twisted + Autobahn and want to

subscribers can list publications.

Not sure I get what you mean, but there are 2 optional features in the
advanced profile of WAMP that might match it:

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#subscriber-list

https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#event-history

As you can see from the text, the definition of those features isn’t
fully done yet.

In general, the “Advanced Profile” will be implmented (parts of it
already are) in Crossbar.io. Those won’t be implemented in the “Basic
Router” that is included with AutobahnPython …

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

#6

Jess,

Tobias, does this mean that if we would like to use the advanced
features of WAMP that we /must/ use Crossbar.io? Or will it eventually

At least as the WAMP router implementations in Autobahn and Crossbar are concerned, yes, we won't implement e.g. event history in Autobahn. One reason for that is that a history feature likely will depend on some database library. And that would be a weird dependency for Autobahn, which is a library that should have minimal dependencies.

be implemented into the Basic Router that is included with Autobahn
Python, but just not for a while? This would tell me a bit more about
how to proceed with my project.

The idea with WAMP and Crossbar.io is to have a distributed application architecture with application components integrated via WAMP, and decoupled via a generic WAMP router - which can be Crossbar.io

Autobahn>Python is with regard to WAMP a full fledged client library, and a router toolkit if you want to roll your own router ..

Hope this helps,
/Tobias

···

Am 02.04.2014 21:47, schrieb Jess Updegrove:

Jess
On Wednesday, April 2, 2014 5:55:56 AM UTC-4, Tobias Oberstein wrote:

    Am 02.04.2014 10:19, schrieb Ilya Travkin:
     > Hi all! Is any method to get all router's available(registered)
     > publications?
     > I'm using Tornado + tornado.platform.twisted + Autobahn and want to
     > subscribers can list publications.

    Not sure I get what you mean, but there are 2 optional features in the
    advanced profile of WAMP that might match it:

    https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#subscriber-list
    <https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#subscriber-list>

    https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#event-history
    <https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#event-history>

    As you can see from the text, the definition of those features isn't
    fully done yet.

    In general, the "Advanced Profile" will be implmented (parts of it
    already are) in Crossbar.io. Those won't be implemented in the "Basic
    Router" that is included with AutobahnPython ..

     >
     > --
     > 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 autobah...@googlegroups.com <javascript:>
     > <mailto:autobahnws+...@googlegroups.com <javascript:>>.
     > For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

--
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

#7

What problem are you trying to solve, Jess? If you need reliable message
queuing, have you seen http://www.rabbitmq.com/ ?

···

On 02/04/14 03:47 PM, Jess Updegrove wrote:

Tobias, does this mean that if we would like to use the advanced
features of WAMP that we /must/ use Crossbar.io? Or will it eventually
be implemented into the Basic Router that is included with Autobahn
Python, but just not for a while? This would tell me a bit more about
how to proceed with my project.

Jess

--
-Nick Guenther
4A Stats/CS
University of Waterloo

0 Likes

#8

I haven’t seen that before and I don’t need message queuing, but I’ll take a look at it. I was more interested in the challenge/authenticate messages of the advanced profile as well as the heartbeat feature. But I can look at Crossbar.io if those features will never become part of the WAMP implementation itself.

Jess

···

On Wednesday, April 2, 2014 9:29:45 PM UTC-4, Nick Guenther wrote:

  What problem are you trying to solve, Jess? If you need reliable

message queuing, have you seen http://www.rabbitmq.com/ ?

  On 02/04/14 03:47 PM, Jess Updegrove wrote:
    Tobias, does this mean that if we would like to use

the advanced features of WAMP that we must use
Crossbar.io? Or will it eventually be implemented into the Basic
Router that is included with Autobahn Python, but just not for a
while? This would tell me a bit more about how to proceed with
my project.

    Jess
-- -Nick Guenther
4A Stats/CS
University of Waterloo
0 Likes

#9

The set of topics isn’t fixed at the router

OK. And that’s why I want to get this list by request. Not to subscribe all topics. How much time should

some code waits for publications in topic “devices.security.sensors.fire.alarm” if no such topic at all

registered on router? I want to say that there is no difference between “no topic” and “no publications in topic”.

Whatever it was - WAMP Reflection - exactly I spoke about. Is any support for “WAMP Reflection” in Autobahn planned?

···

среда, 2 апреля 2014 г., 20:14:42 UTC+4 пользователь Tobias Oberstein написал:

Ilya,

Am 02.04.2014 18:01, schrieb Ilya Travkin:

Thanks for answer. I’m new in WAMP and not good in it’s terminology. My

corrected question is “is any way to gel all topics on router?” I’m

going to public messages from different hardware to corresponding topics

and needs some technic to inform clients(subscribers) about available

topics.

The set of topics isn’t fixed at the router. Consequently, there isn’t a
method of retrieving a “list of available” topics.

A client simply subscribes or publishes to a topic it wishes. If the
router allows subscription/publication to the topic, it’ll act accordingly.

/Tobias

0 Likes

#10

Hello Ilya,

    The set of topics isn't fixed at the router

OK. And that's why I want to get this list by request. Not to subscribe
all topics. How much time should

FWIW, WAMP routers supporting "wildcard/pattern based pubsub" allow you to subsribe to whole sets of topics .. including "match ALL".

some code waits for publications in topic
"devices.security.sensors.fire.alarm" if _no_ such topic at all
registered on router? I want to say that there is no difference between

Sorry, still unsure if I understand:

There is no "registration" of topics at the router. If a client subscribes to

devices.security.sensors.fire.alarm

thats fine. The subscription will succeed (given proper auth.), even if _nobody_ publishes an event to that topic _ever_. Of course, in that case, the client will never receive an event for that topic.

"no topic" and "no publications in topic".
Whatever it was - WAMP Reflection
<https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#reflection> -
exactly I spoke about. Is any support for "WAMP Reflection" in Autobahn
planned?

Yes, this is on the roadmap. But "WAMP Reflection" needs more design thinking first. If you have particular needs/suggestions in this area, please consider contributing your thoughts - probably best via "Issues" on the WAMP GitHub repo. In other words: we first need to work out the "spec" .. implementing this stuff in Autobahn will follow ..

Cheers,
/Tobias

···

Am 02.05.2014 21:08, schrieb Ilya Travkin:

среда, 2 апреля 2014 г., 20:14:42 UTC+4 пользователь Tobias Oberstein > написал:

    Ilya,

    Am 02.04.2014 18:01, schrieb Ilya Travkin:
     > Thanks for answer. I'm new in WAMP and not good in it's
    terminology. My
     > corrected question is "is any way to gel all _topics_ on router?"
    I'm
     > going to public messages from different hardware to corresponding
    topics
     > and needs some technic to inform clients(subscribers) about
    available
     > topics.

    The set of topics isn't fixed at the router. Consequently, there
    isn't a
    method of retrieving a "list of available" topics.

    A client simply subscribes or publishes to a topic it wishes. If the
    router allows subscription/publication to the topic, it'll act
    accordingly.

    /Tobias

--
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