Questions tagged [wamp-protocol]

Web Application Messaging Protocol (WAMP)

WAMP is an open standard WebSocket subprotocol that provides two application messaging patterns in one unified protocol:

  • Remote Procedure Calls
  • Publish & Subscribe
124 questions
3
votes
1 answer

Integrate Autobahn|Python with aiohttp

I'm trying to integrate an aiohttp web server into a Crossbar+Autobahn system architecture. More in detail, when the aiohttp server receive a certain API call, it has to publish a message to a Crossbar router. I've seen this example on the official…
gmanzoli
  • 77
  • 1
  • 8
3
votes
1 answer

Authentication to use for user notifications using Crossbar/Autobahn?

I'm currently trying to implement a user notification system using Websockets via Crossbar/Autobahn. I have done multiple tests and gone through the documentation, however, I'm not sure if there's a solution to having the following workflow work:…
3
votes
4 answers

Is it possible to do a streaming RPC call using WAMP?

I would like to use the WAMP protocol for RPC and Pub/Sub using websockets. In particular, I am interested in using crossbar.io as a WAMP server. I read through the spec for WAMP and it was not clear whether it's possible to stream data as part of…
jedesah
  • 2,983
  • 2
  • 17
  • 29
3
votes
1 answer

How create a python application with two thread each which has a autobahn application

I have not found any solution for my problem. I need to create a python application with two thread, each of which is connected to a WAMP Router using autobahn library. Follow I write the code of my experiment: wampAddress =…
alotronto
  • 99
  • 2
  • 8
3
votes
2 answers

Running Flask and Autobahn WAMP Server on the same port

I understand there is a example on how to run a PythonAutobahn websocket server and a Flask server together in twisted (see below): https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/websocket/echo_wsgi/server.py However, I would…
3
votes
1 answer

sending messages using php with voryx Thruway WAMP messaging system

I'm trying to build a notification messaging system. Im using the SimpleWsServer.php server example. I want to push a notification to the user's browser when a task has completed on the server. This needs to be done using PHP and i cant find a…
astroanu
  • 3,901
  • 2
  • 36
  • 50
3
votes
1 answer

gevent-websocket python WAMP client?

I'm using gevent-websocket to write an WAMP server, which supports rpc and pubsub nicely. But is there any help in gevent-websocket to write a WAMP client? I know there is autobahn, but its API and size is the reason that I use gevent-websocket…
Ralph Zhang
  • 5,015
  • 5
  • 30
  • 40
3
votes
2 answers

WAMP support for ws4py / CherryPy

I am using ws4py / CherryPy for websockets support, and would like to implement WAMP on top of it. I thought of using autobahn but it only seems to support Twisted and asyncio out of the box. Is possible to use autobahn functionality to extend…
mar10
  • 14,320
  • 5
  • 39
  • 64
2
votes
0 answers

Tableau WAMP Data Connector

Tableau has several data connectors. These all seem to use a request/response mechanism that pulls / polls for data updates. I have a data service that talks WAMP (web application messaging protocol) using crossbar.io (router) and autobahn-python…
victtim
  • 790
  • 5
  • 17
2
votes
1 answer

Returning large data from RPC (Crossbar + Autobahn|Python)

I am trying to transmit large data through websockets using crossbar/autobahn's RPC. My setup is as follow: Python 2.7 A crossbar router (version 17.8.1.post1) A back-end that will try to send a large pandas DataFrame as a json string A front-end…
A. Ciclet
  • 33
  • 1
  • 4
2
votes
1 answer

How to use Jawampa (Java WAMP implementation) to subcribe to an event

i want to use the poloniex API. https://poloniex.com/support/api/ So far i made Jawampa ( https://github.com/Matthias247/jawampa ) running with IntelliJ. My first Question is, how to login successfuly? (The Docu of Jawampa doesnt help) I got a API…
PowerFlower
  • 1,619
  • 4
  • 18
  • 27
2
votes
0 answers

How to get poloniex push API data with Wampy

I want to get correct data when connect to Poloniex push API use Wamp protocal Wampy.js implementation http://wamp-proto.org/implementations/ but I only got the last two data types right, the first one keep gives me…
Yadi
  • 21
  • 1
  • 8
2
votes
0 answers

WAMP with Django App using Python 2.7 AND 3.4 - is it possible?

The essence of the question is: Is it possible to use WAMP notifications in a Django application supporting both Python 2.7 and 3.4, considering that code should be running and only be interrupted if a Remote Procedure Call is made? (That is, it's…
Denise
  • 21
  • 2
2
votes
1 answer

Bridging two realms/subscribing one client to multiple realms

I'm looking into designing a WAMP/Crossbar application with two or more realms; one realm would be for backend messaging, while a second would essentially expose a public API to frontend clients. Now, at some point messages need to cross between…
deceze
  • 510,633
  • 85
  • 743
  • 889
2
votes
1 answer

WAMP Protocol - Scaling out routers on multiple machines

I have been thinking a lot about scaling out the WAMP router onto multiple machines. Especially because relying on one system without having a backup-system seems a bit tough in a live scenario. To not have a complicated master node election and all…
1
2
3
8 9