pubsub

NServiceBus - Application as subscriber and worker service

Hi all, I have a service which needs to run on multiple machines picking jobs off of a single queue ensuring each job is only undertaken by a single service. I also need to publish messages for all services to receive, such as reload triggers. Is this possible in nservicebus without too much hacking? I have proved that both the publis...

Php reading xml in post request

So, I have perform two steps a) Create a some random xml file in one of the php file. b) Parse the same xml file in second file. Key points are that php file in a) will issue a post request to php file b) with only xml as its request. file b) will have to read the xml file using SImpleXml. I am trying to do something for this htt...

possible to use more then 65535 ports for Xmpp PubSub or Comet implementation ?

Hi, In Comet/Reverse Ajax/PubSub underlying technology/fundamental is Long polling. So connection is kept open for a minute or so.. And as per my little knowledge about networking and OS, TCP/IP supports only 65535 ports, so my question is how any server can support more then 65535 connections concurrently? In application I am building...

Any good pubsub.framework guides?

Are there any good guides on how to use pubsub.framework? Apple's documentation is scarce and the sample code that they give you is impossible to follow ...

Display image in NSTableView

Now can I display an image in a table view. The big thing is there will be multiple data sources and each one has a different image. I'm using pubsub to get the data. Ex: data source 1 image -data -data1 data source 2 image 1 -data 2 -data 3 ...

Open source "push" messaging

I'm looking for something open source that can "push" messages to connected clients based on their subscription, for example "User 1" might be subscribed to "feed1" and "feed3" and "User 2" might be subscribed to "feed2" and "feed3" etc. I've got something working using ejabberd but it requires that the server send a message individual...

Interprocess pubsub without network dependency

Suppose I have no network card installed on my computer, and I would like to have functionality similar to the following: Process 1 will publish messages to some URI, say "Uri1" var publisher = new Publisher("Uri1"); publisher.publish(new Message("Somedata"); Process 2 will both listen for messages on "Uri1" and publish messages to "...

how can I send messages to/from a Websphere Message Broker from an embedded C client (no JVM)?

What are my options for pubsubing (or point to point but pubsub is better) messages to and from an IBM message broker from an embedded headless C/C++ linux client that doesn't have a JVM? Ideally we want large file transfer (2GB once per day off of the client) encryption (SSL) reliable ('assured' delivery / QoS2, maybe QoS1 would do) ...

Can WCF WS-duplex in publisher-subsciber hold a real-time application?

I want to develop a proof of concept WCF pub-sub service that should hold thousand of users and a lot of publications (stock rates). has anyone has experience which such kind of service? can it hold real time apps? does anyone has a sample for high performance WCF pub-sub? ...

Multiple subscribers in NServiceBus

Hi. I'm getting started with NServiceBus and have a question about the Pubsub sample. My intention was to have multiple instances of Publisher1 running and receiving the message sent from the publisher. I also hacked the Publisher to only send messages of the eventMessage type. But if I start the publisher and three instances of Subscr...

Receiving PubSub notifications through IM client

Hi guys, I am new to Openfire and XMPP and there are a few things that are a bit unclear to me. I would like to use pubsub to notify all the subscribers when new blog post is published on the website. Subscribers should be able to receive these notifications through their IM applications of choice (Adium for example). The problem is tha...

Message-based multithreading or Thread Pool for a short and uncommon action?

I'm currently using Retlang for message-based multithreading in .NET, which is a great library. I've got no explicit locks anymore, every thread is doing its own business, managing its part of the application and communicating with other threads via messages. I now have to implement a feature of my application that could also have its o...

NServiceBus, why can I Bus.Send, but not Bus.Publish? Need help debugging

Ok, Quick background We're using NServiceBus 2.0 with pretty much the standard config, nothing "crazy" going on. App is .NET 3.5 Dev environment is Publisher and Subscriber are on the same box, Windows 7. Staging environment is Publisher and Subscriber are on different boxes, one Windows 7, the other Windows Server 2008. Behaviour ...

lazy event publish subscribe in python

I need an event messaging system in my google app engine application. and i was referring to following python library. http://pubsub.sourceforge.net/apidocs/concepts.html my question is , is it must that the listener function i want to execute must be imported ( or exist otherwise) somewhere in to the execution path in order to run it...

PubSub basics - lots of followers scenario?

Hi, I have a web app where users can follow one another. When one user publishes some action, I'd like that action to appear in the feeds of followers. A simple approach might be keeping a feed.xml file for each user, which is updated like: UserA is followed by UserB, UserC. UserA publishes some content. Update UserB, User...

PubSub between Java and .Net

Hi, Is there a good free service bus for .Net that allows subscriptions from Java clients? I'm working with NServiceBus and I like the fluent API and the simplicity, but it doesn't support Java clients or WCF integration for web-service based connections. Thanks! ...

Publish/subscribe with large files as message payloads

We have an existing system that processes a lot of files on an ongoing basis. Roughly speaking, about 3 million files a day that can range in size from a few kilobytes to in excess of 50 MB. These files go through a few different stages of processing from the time they are received to when they are finished being consumed, depending on...

Weblogic 10.3 pubsub API - anybody ?!

Recently got to know that WL10.3 inculdes "pubsub" API for doing comet. In this regard there's a question - is it useable in real projects ?! Would like to hear people that have been used this API in real work. Thanks! ...

Connector between node.js and Scala (Java)

What is the best way of integrating node.js with Scala (Java)? The simplest way I see so far is using Redis PubSub as a mediator, with node.js server handling HTTP requests and publishing messages to the request channel (via redis-node-client), and Scala actors (e.g. Akka Redis PubSub integration) subscribed the request channel and publi...

What Is The Difference Between Pub/Sub And jQuery Data-Link?

A popular topic at the jQuery conference in Boston this month was the idea of Pub/Sub - http://www.bennadel.com/blog/2037-Simple-Publication-And-Subscription-Functionality-Pub-Sub-With-jQuery.htm A common example of what one may use PubSub to do is tracking for a piece of data changing value in order to execute some other event. As far...