messaging

Unsolicited notifications from server to client over http

I am working on a dropbox like system and I am wondering how the client gets notified when the files change on the server side. It is my impression that both dropbox and ubuntu one operate over HTTP ports and work as follows: 1. if files change on client machine, inotify detects it and preforms a push from the client to the server. (I ge...

Can durable subscriptions survive client restart?

If I use durable subscription, can I restart my client and resubscribe without loosing any messages? (Assuming, my client does not unsubscribe in any way. Lets say it just crashes). Let me clarify. JMS 1.1 Spec says the following: 9.3.3.2 Reconnecting to a Topic using a Durable Subscription /* Reconnect to a durable subscription *...

C++ What is this simple macro doing?

I'm converting a C++ application in C# and managing to work my way through most of it. However I'm stuck with the following statement: #define GET_SHCALL_ID(L) (((L) >> 24) & 0x000000FF) It's called by another part of the application that receives a Window Message and is passing in the lParam to this call, as...

Approaches for Orchestrating Message Queues

Hi folks. I'm looking for some different perspectives for orchestrating messages through a number of message queues. For orchestration steps, would prefer to avoid some of the hard coded xml file solutions that are out there. Not BPEL; as the workers are not soap services. I was thinking of something a bit more dynamic such as defin...

What mechanism do PIPES use to "wake up" the recipient?

I have two questions is one here. On Windows, I am familiar with pipes and how they work. However, I am curious as to what mechanism the OS uses to notify the recipient thread of a message arrival. Does the thread "poll & sleep" continuously for data? Does the OS check to see if the thread is sleeping and wake it up? Or is there some o...

Silverlight WP7 messaging, should I use a WeakReference and if so how?

I'm creating a simple messaging system for a windows phone silverlight app. The idea is various xaml pages & other objects will subscribe to a messaging object, passing in the type of message they want to recieve/handle and an Action<> Delegate as the handler. When an action happens a message (with payload) will be sent to the correct ...

Looking for an optimum multithread message queue

I want to run several threads inside a process. I'm looking for the most efficient way of being able to pass messages between the threads. Each thread would have a shared memory input message buffer. Other threads would write the appropriate buffer. Messages would have priority. I want to manage this process myself. Without getting in...

.NET: Send a text message to all instances of the same application and read it

I need ability to reliably sync some chunks of textual data between all running instances of my application. What's the best way to make it? ...

In UNIX, how do I send a message to another UNIX box on the same network by IP address?

Just like a "net send" on Windows, if I remember what net send does correctly. I just want to say something like: <command> <IP address> "Hey what's up?" and the message "Hey what's up?" should show up on the other guy's machine. Ideally this shouldn't require installation of any packages not already present in typical UNIX/Linux dist...

Simple Messaging System in Rails for Social Networking site

Hi, I am building a social networking site in rails and I want to have a very simple messaging system. More or less just: inbox and set messages. Lastly, I'd ideally like for it to function like facebook; in the users profile you click "send message to username" and it takes you to a compose screen. The only rails messaging system I'v...

RabbitMQ Message Exchange

I have Created a RabbitMQ Producer and a RabbitMQ Consumer.... suppose my producer produces 10 messages. How can i get a particular message from those 10 messages. I want to know how can i uniquely identify a message and read that or consume that message. ...

How to selectively delete messages from an AMQP (RabbitMQ) queue?

I'd like to selectively delete messages from an AMQP queue without even reading them. The scenario is as follows: Sending side wants to expire messages of type X based on a fact that new information of type X arrived. Because it's very probable that the subscriber didn't consume latest message of type X yet, publisher should just delet...

ActiveMQ Messaging problem

Hello. I have a ActiveMQ server, with STOMP connectors for iphone clients. I use JMS as pub/sub (iphone subscribe to a channel and get quotes of a symbol). But somehow it seems that the iphone is a very slow consumer, and the server keeps a buffer for each client. this one makes a delay in messages, the only get increased. I have config...

MantaRay opens 3 TCP connections on the same port.

Another problem with mantaray: We have "a lot" of PCs in a network, our p2p messaging software uses MantaRay (which we plan to replace with something else). On some PCs the task manager shows CPU at 100% when this application runs. We tried to investigate that with TCPView, and found that these PCs open more than one TCP connection from...

Any third party tools for messaging architecture/infrastructure which can be used for existing applications?

Hi, We are looking to add messaging infrastructure support to our existing applications. Something like emailing through existing mail clients like exchange,outlook,lotus notes,SMTP etc. , manage address books with integration with LDAP, send mobile texts (SMS) (maybe via email to sms gateways), send secured emails to users. Any one kno...

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?? ...

Is message priority inherently unimportant in message queue systems?

It seems like most of the messaging systems I've looked at have basic, if any, support for priority message queues. For example, the AMQP only specifies a minimum of 2 priorities. RabbitMQ, an AMQP implementation, doesn't support any priorities. ActiveMQ will be getting support for 10 message priorities in version 5.4 in a couple days. 1...

PostMessage returns "invalid window handle" in thread

Background: I am using OmniThreadLibrary to load batch mode ADO stored procedures in the background. I am doing some slightly dodgy stuff by swapping the connection after opening the SP but that seems to be quite reliable. I'm using PostMessage to send messages back to the calling form and that works in my test applications. Primoz' comm...

How to implement cache synchronization in tomcat 6.0 cluster environment?

Hi, I'm currently working on a migration a web application to run in a cluster. This application uses caches. Some of this caches are reloaded in case the user saves something. I'ld like to inform the other nodes of the cluster about this, so that all nodes refresh their caches. It seems that the tomcat server has a group messaging bui...

Migration from javax.jms to jbossMessaging

Hello All, I am working for a migration project in which jms code is written using stadard code javax.jms and running on jboss-3.x. Now we are migrating to jboss-4.3, which support Jboss Messaging(JBM), I want to what kind of changes i have to do in JMS code. Please help me in this Regard. Thanks and Regards, Rahul Aahir. ...