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
1
vote
2 answers

How to create real time order book since Poloniex exchange WAMP Api sequence number is not correlating with the sequence number got from the REST Api?

I am using C# WAMP client to connect to the Poloniex exchange to get the real time Market data.AS per the documentation provided by the exchange in order to create a real time order book we have to first get the snapshot of the order book through…
Dhinesh
  • 325
  • 1
  • 6
  • 17
1
vote
0 answers

How to publish/subscribe or call/register a procedure/event in crossbar.io dynamically at runtime?

There are methods in crossbar to publish/subscribe the event or to call/register the procedure but once we write code, its done, suppose I want to publish/register the event/procedure at runtime, then what should be done? is there any way?
chirag pathak
  • 121
  • 1
  • 14
1
vote
1 answer

Multi client RPC

I have a router, a server and multiple clients. The server registers methods in the router, and the clients successfully call the methods and get the result. In some cases, I need the server to ask a specific client something. I already have the…
Philippe Paré
  • 4,279
  • 5
  • 36
  • 56
1
vote
0 answers

WAMP component for celery task monitoring and publishing to React app

I have a React app that POST over Klein and runs a Celery job async (via RabbitMQ). I would like to display all tasks in some table with status updates via a WAMP Pub/Sub (I'm using Crossbar as a router). My React table component gets the initial…
1
vote
1 answer

How can I get list of subscribed clients in autobahn.ws?

Now I'm developing chat using wamp-protocol, crossbar.io, autobahn.ws. We have rooms only for two clients. I need to define if other client is in room, if it in I publish new message in other case I make request to GCM. Every room has own uri like…
1
vote
1 answer

Messaging library safe for client/server crashes?

I'm evaluating some messaging libraries and protocols (e.g. ZeroMQ, WAMP). One of my main requirements is that sending messages from client to server and vice verse (two way communication) must be absolute safe with respect to client/server crashes.…
Thomas W.
  • 2,134
  • 2
  • 24
  • 46
1
vote
1 answer

crossbar Out-of-memory when pub runs faster than sub

I was doing some pub&sub test with autobahn-cpp. However, I found that when you pub some data at a frequency that faster than the sub endpoint can consume, this will cause the router(crossbar) cache some data and the memory usage increases.…
Wei Guo
  • 544
  • 3
  • 15
1
vote
1 answer

AutobahnJS: Remote call to asyncronous function

I'm trying to make a call over WAMP to a remote function. But I don't know how to write the called function if it has asynchronous behavior. In every example I've seen the remote function returns the result. How can this be done in an asynchronous…
Sean Lynch
  • 2,852
  • 4
  • 32
  • 46
1
vote
1 answer

How to test WAMP-Services?

Context: i want to write a web service that uses WAMP (Web Application Messaging Protocol, not the Service-Collection for Windows). WAMP should be used since it supports Events and RPC in a quite easy way. And with lower overhead. Now how can i…
michi.0x5d
  • 959
  • 9
  • 13
1
vote
1 answer

Jmeter wamp-protocol integration

Here is the story: we have several servers connected to wamp (crossbar.io) I am creating load tests for part of this system and need a way to get info from wamp server to Jmeter. So far I found only WS plugin for Jmeter, but it wont work with…
Andrey
  • 11
  • 1
1
vote
1 answer

How do I know who sent a WAMP message?

Is there any way to get metadata about who (authid) published a given message or called an RPC? After I have users authenticate and authorize them for a given role (e.g. allowing them to publish to mychat) how can I prevent clients from spoofing…
Nick T
  • 25,754
  • 12
  • 83
  • 121
1
vote
2 answers

jawampa maximum websockt frame size?

Is there a maximum size for the arguments when publishing an event? I use this code (java): wampClient.publish(token, response.toString()); response.toString() is a long json-string in my case. It has about 70.000 characters. I have the suspicion…
beta
  • 5,324
  • 15
  • 57
  • 99
1
vote
1 answer

Calling objective c function from SWIFT through bridging header

I have ported an objective-c package into a swift package and included it within the bridging header. Everything works fine, except there is a function I have to implement from a delegate I can't get working: - (void) mdwamp:(MDWamp*)wamp…
John Doe
  • 836
  • 2
  • 10
  • 17
1
vote
1 answer

Publishing to crossbar.io from python daemon

I would like to use crossbar.io to display real-time stats on the web about a long-running python daemon. The displaying part works fine using AutobahnJS, but I struggle with the part that posts stats to crossbar.io. All the example code I read runs…
Simon
  • 12,018
  • 4
  • 34
  • 39
1
vote
1 answer

Browser client using autobahn.js can not connect to Ratchet Websocket Server

I'm struggling with a problem : I developed a Ratchet Web Socket Server using PHP Ratchet socketo.me My server is up and listening to port 8082 : require 'vendor/autoload.php'; $loop = React\EventLoop\Factory::create(); $pusher = new…
Ravi Soni
  • 2,210
  • 3
  • 31
  • 53
1 2 3
8 9