Questions tagged [bayeux]

Bayeux is a protocol for transporting asynchronous messages (primarily over HTTP), with low latency between a web server and a web client. The messages are routed via named channels and can be delivered: server to client, client to server, client to client (via the server).

The primary purpose of Bayeux is to support responsive bidirectional interactions between web clients, for example using using AJAX, and the web server.

Bayeux is a protocol for transporting asynchronous messages (primarily over HTTP), with low latency between a web server and a web client. The messages are routed via named channels and can be delivered:

  • server to client
  • client to server
  • client to client (via the server)

By default, publish subscribe routing semantics are applied to the channels.

Delivery of asynchronous messages from the server to a web client is often described as server-push.

The combination of server push techniques with an Ajax web application has been called Comet.

Bayeux seeks to reduce the complexity of developing Comet web applications by allowing implementors to more easily interoperate, to solve common message distribution and routing problems, and to provide mechanisms for incremental improvements and extensions.

See http://cometd.org/documentation/bayeux

80 questions
0
votes
1 answer

CometD Issues with Publishing Data

I'm new to CometD and having problems publishing data on a channel. I'm getting the following error for not invoking a handshake() on my channel: Sender : null Sender : L:/abc/1? Exception in thread "Thread-9" java.lang.IllegalStateException: Method…
user676567
  • 1,119
  • 9
  • 20
  • 39
0
votes
1 answer

Is there a framework can realize Bayeux and hang in rensin?

Look like ComeD can only extend jetty, is there a framework can realize Bayeux and hang in rensin, or other based on the long polling framework?
Li Che
  • 727
  • 10
  • 24
0
votes
1 answer

node.js, faye (bayeux) - after subscribe event

I have a chat server. And after the clients subscribes I want to look in a DB to see if there is any history for the chat room they subscribed to. The problem is, that I can only catch "subscribe" events in extension which must do "return…
Matjaz Muhic
  • 5,328
  • 2
  • 16
  • 34
0
votes
1 answer

Web messaging comet cross-domain bayeux webmsgServlet

I'm writing a mobile application using phonegap that subscribes to a SIBus jms Topic. First I was able to run a demo after configuration but I'm not able to run It from a different domain because the application must be runnig on an external domain…
Aymen Taarit
  • 672
  • 1
  • 10
  • 22
-1
votes
1 answer

Cometd Push Notification after Network Failure

Cometd Push Notification cannot succeed after resume of either client or server. Not clear about this post. Cometd : It seems that ServerChannel lose some subscribers. Any suggestion??
user2263197
  • 97
  • 1
  • 12
1 2 3 4 5
6