publish-subscribe

NServiceBus Publish/Subscribe Question

We are trying to find an elegant solution for reporting exceptions generated from systems across our infrastructure that's easier to operate on than viewing e-mail or checking log files. The publish/subscribe model across a service bus, would solve this problem quite neatly. Services would publish errors/events and a subsriber could filt...

lightweight publish/subscribe framework in java

Is there a good lightweight framework for java that provides the publish/subscribe pattern? Some ideal features Support for generics Registration of multiple subscribers to a publisher API primarily interfaces and some useful implementations purely in-memory, persistence and transaction guarantees not required. I know about JMS but ...

Why aren't clients running against the same publish/subscribe service getting each other's messages?

I'm trying to implement publish/subscribe through WCF. My problem is that multiple clients originating from 1 computer work as expected, but clients on another box on the same network don't get the messages. I'm following this blog tutorial: http://chakkaradeep.wordpress.com/2007/07/30/coding-wcf-publishersusbcriber-model/ I'm hosting ...

Mediator pattern vs Publish/Subscribe

Can someone point out the main differences between the two? It seems that, at least conceptually, the two are very closely related. If I were to hazard a guess, I would say that the publish/subscribe method is a subset of the mediator pattern (since the mediator need not necessarily be used in the publish/subscribe manner, but the latt...

N-Tier Publish/Subscriber Design Problem

I'm just getting into how to write a good architecture of a good software system, and I'm learning how to separate high level components into Layers. In this case, I'm trying to use Tiers, so as to model each Layer as a black box. There are 4 tiers in my architecture: Presentation, Application Services, Business Logic, and Domain/Persis...

WPF events, commands or using both

Hello, I am constructing my app infra structure, and finding it hard to achieve a very basic behavior - I want to raise events from different user controls in the system and being able to catch those events on some other user controls that listens to them. For example i have a user control that implements a TreeView. I have another user ...

Publish/Subscribe Messaging in Adobe Air using HTML/Javascript API

I'm trying to build a small app using real-time messaging. I don't know flash, actionscript, or flex, but I'm very comfortable with HTML & Javascript so I thought I'd give that a go. I was able to get a sample running using the XmlSocket, but I'm interested in upping the ante to RTMP using FluorineFX. As I understand it, I should just ...

how to refresh a 'div' anytime an element in the page is clicked - jquery

i wanted to reload an element whenever there is a click event on any form element. can anyone help me with the jquery syntax? something like function addClickHandlers() { $.publish('refreshDiv'); } where the div's reloadTopic is set to refreshDiv thanks ...

A scalable solution for server side push?

I would like to implement a mechanism which will provide a RESTful API that allows a client to register interest in a subject with a sever, and receive asynchronous notifications from the server after the interest is registered. In enterprise (messaging) architecture, this is known as publish/subscribe 'pattern'. With desktop applicatio...

Bulk message sending with publish/subscribe model.

We are trying to implement a notification module. It allows website internal users to send message to each other. A key feature is that it allows business users to send bulk messages to the users. We are talking about millions of users here. Currently it is planned to be a publish/subscribe model. Once login, system shall retrieve the r...

What all functionality are there in queue which can't be achieved by topic??

What all functionality are there in queue which can't be achieved by topic?? ...

How to implement asynchronous request response in REST based web service

I have a REST based web service system. I need to find a way to support publish/subscribe model here. As you know REST the communication between client and server is HTTP protocol. I use apache (PHP) web server in the backend to server all REST requests. The question is how to use PHP or whatever (in the web server side) to support this ...

Thread Safe Publish Subscribe in .Net

I created a simple set of interfaces and a class that allow me to publish the additions and removals of items in a generic dictionary. Subscribers receive the entire list when they subscribe and after that, they get only the changes. Although my solutions work, I am looking for something a little more standard, a little less home-grown....

Module clustering and JMS

Hi, I have a module which runs standalone in a JVM (no containers) and communicates with other modules via JMS. My module is both a producer in one queue and a consumer in a different queue. I have then need to cluster this module, both for HA reasons and for workload reasons, and I'm probably going to go with Terracotta+Hibernate for cl...

Can Apache Camel send a XMPP presence/pubsub packet to an XMPP endpoint?

I need to receive an update published to a JMS topic, convert it to a XMPP packet (Presence packet or PubSub packet) and route it to an XMPP endpoint. I am using ActiveMQ as JMS provider and Apache camel as routing engine. given below is my route in Camel (to make things simple I read from system.in instead of a jms topic): from("...

Can you direct me to a good implementation of pub sub in java

rabbitmq implementation will help a lot. 10x ...

WPF/WCF Client-Server Music Server

I would like to develop a WPF/WCF client/server app that permits client apps to control a server-side/music-server across a LAN. My hope is for the client/server application to permit: Clients to subscribe to the server. Clients to send commands (WS-* protocols) to the server that operate the music-server. Server to broadcast any musi...

Using blocking REST requests to implement publish/subscribe

I've recently been asked to investigate the feasibility of integrating with a phone system vendor who wants to make phone events (e.g. line ringing, extension answered, call cleared) available using a RESTful web service. I pointed out that REST is a request/response protocol and they were doing publish/subscribe. The solution they were...

How to implement publish/subscribe communication over the internet

I have a .Net service hosted on a server, and .Net clients connecting to this server over the internet. I want to implement a publish subscribe model where clients can subscribe to events on the service and have data pushed to them as data becomes available. An alternative would be to have clients poll the server for data, however this ...

How to store pubsub payloads in DB

Hello, I am using XMPP pubsub.Everything is working fine.User can create node and interested user can subscribe to that node.But I want to store the publish action into DB.Because in my application many things are handled by pubsub like chat,feeds etc so on page refresh I want to persist chat.So I m looking for any openfire plugin which...