messaging

Who Needs (SOAP) Reliable Messaging?

I spotted a very good argument against protocol-based (viz. SOAP) reliable messaging. Is this a flame-war topic, or is there a fair degree of consensus about this? I think the author's "Netherlands" case-study ought to have included an in-order example as well. p.s. I wish google had a "contrast" tool, that finds sites with opposing p...

Fields are mismatched when passing object from Java to Flex, how do I fix it?

We have a pretty big application with lots of objects being passed between flex and java. One object in particular has a subtle bug: It's a plain old java object being passed to the flex front end (using blazeds producer/consumer messaging). The POJO has two String properties such as: myShirt.color = "brown"; myShirt.description = "wi...

wpf mvvm - how to send message only to parent?

Hey. I'm building my first app using MVVM and I stuck. Using the messenger to communicate other ViewModels about some changes was working ok until I tried to build an observablecollection of objects. I have a class (myClass) that contains a list (innerList). Elements of innerLists should send message to it's parent (to communicate that...

Access JMS Queues from WebLogic in JBoss

What is the recommended approach for an application deployed as an EAR in JBoss 5.1 to access JMS destinations on WebLogic 9.2? The current implementation, which worked just fine on 4.2.3, does not even start without errors on JBoss 5.1. The application deployed to 4.2.3 used a Spring JmsTemplate to connect to WebLogic. WebLogic's clien...

Is JMS (or any messaging solution) appropriate for a follower/following model

For the sake of simplicity, let's assume I'm cloning twitter (I'm not). So every user can follow other users, and be followed by other users. For each user you follow, you receive all tweets he sends. Everything is stored in a data storage (be it a NoSQL solution or a sharded relational database). However, when users are online, do you ...

How to connect JMS queues from JBOSS 4 and 5?

I have a server on which a Jboss 4.2.2 and a Jboss 5.1.0 runs. The problem is that a 3rd party is not able to upgrade its application to Jboss 5.1.0 in the near future, for us it is a simple matter. Unfortunately we need to send and receive some JMS messages from the third party app running on Jboss 4.2.2. What is the easiest way to ena...

Instant Messaging server on Android behind NAT-router

Hi. I am making an IM application for Android. The application consists of a server and client, both residing on the android. At startup, the applications register with a webserver. If a client wants to send an IM to a server behind a NAT router, how this be done? I heard of stun4j and jstun but found nowhere an example of their usage in...

Generic QoS Message batching and compression in Java

We have a custom messaging system written in Java, and I want to implement a basic batching/compression feature that basically under heavy load it will aggregate a bunch of push responses into a single push response. Essentially: if we detect 3 messages were sent in the past second then start batching responses and schedule a timer t...

Messaging Middleware Vs RPC and Distributed Databases

Hi All I would like to know your opinions on advantages and disadvantages of using Messaging Middleware Vs RPC and Distributed Databases in a distributed application? Thanks ...

Opting for a messaging system over web services such as SOAP

I'm working on a project at the moment that involves building a system in conjunction with another technical partner. The system will provide "monitoring" type functionality and operations will be long running with numerous "events" being returned and processed / returned to the user. My initial reaction was to build a web service that...

Removing users' personal information from message posts in php.

I have implemented a php/codeigniter messaging system and want to prevent users from posting their phone numbers, addresses, e-mails, websites or anything else that might allow for user contact outside of our messaging system. Does anyone know of any available plugins or code that would remove such personal information from text? Tha...

[RabbitMQ] Use it for JSON data transfer

I am trying to use RabbitMQ for a distributed system that would work something like: a producer puts in a queue a JSON-formatted list of order ids several consumers pull out of that queue, do the business logic with that order ids and the result (JSON formatted) as well is put back into another queue from the second queue, another cons...

Looking for a book on queue-based applications

I'm looking for a good book on building messaging and queue based applications. Good practices, design patterns etc. for things like twitter feeds, publish and subscribe feeds, AMQP, rabbitMQ etc. ...

Asynchronous Communication Between Two Applications

I'm writing a simple little game for my kids - it doesn't really matter what it does, though I couldn't tell you anyway, since I/they haven't quite decided yet! However, I think it will have a server component and a number of client components, and I'm looking at ways that the clients can communicate with the server. ALL my previous ex...

How is messaging between Java classes best accomplished?

I have multiple classes and threads that need to write to a Java Swing JScrollPane. In the Android/Eclipse environment I used android.os.Message. Is there something similar in the NetBeans/Windows environment? Here is where I would like to send the message from: public class PrintStatusTask extends Thread { PrintStatusTask(String na...

How to close (not kill) another application that doesn't have a visible window? (C#)

Hi, I have an installation program in which I would like to make sure my application is not currently running. If it is, I would like to close it (not kill it, since the app has to save some data on exit). The additional problem is that the window of my application is hidden (the tray icon is shown instead), so Process.MainWindowHandle ...

Is there any existed open source project for messaging infrastructure?

I want to know if there is any open source projects for messaging infrastructure. It will cover most fuctionalities listed in "Enterprise Integration Patterns". I know there are some open source ESB products which are following this book. But it seems they are too heavy. I only want an elegant messaging infrastructure. Thanks in advance...

Does an ActiveMQ consumer need to be open when explicit acking messages?

My application does batch processing by reading messages from ActiveMQ. I read using the async JMS API by implementing MessageListener. But I ACK the messages only when the batch processing succeeds by calling message.acknowldge() [1]. What I ideally want is that till the batch processing is going on I do not receive any messages from t...

What kind of messsaging architectures are used in huge, scalable sites today?

Sites like Twitter and Facebook scale to hundreds of thousands of users. Most of their architectural overviews are available online as talks and slideshows. However, my question is more oriented towards any messaging middleware/layer that these sites use. I understand that it would be different for different sites - but are there any com...

How to send serialized java objects via apache camel ?

We use Message or Exchange to set the outbound message . the only method these provide is exchange.getOut.setBody(); if i do something like setBody(new Object())..it doesn't work so how do we send java objects via camel exchange. ...