messaging

How do runtime-created sub views communicate with the view controller?

Hi In my iPhone project I have a UIViewController in which I add an instance of a subclass of UIView. From this instance I need to communicate back an integer to my view controller. My current solution is to send a message from my instance to my App Delegate which sends a message to the view controller. It works, but it feels a bit mess...

Multithreaded JMS code : CLIENT_ACKNOWLEDGE or transacted session

Edited Question : I am working on a multithreaded JMS receiver and publisher code (stand alone multithreaded java application). MOM is MQSonic. XML message is received from a Queue, stored procedures(takes 70 sec to execute) are called and response is send to Topic within 90 sec. I need to handle a condition when broker is down or appli...

LowLevelMouseProc in background thread

I'm trying to setup mouse hook on background thread. delegate IntPtr LowLevelMouseProc(int nCode, IntPtr wParam, IntPtr lParam); LowLevelMouseProc _proc = HookCallback; SetWindowsHookEx(PInvoke.WH_MOUSE_LL, _proc, IntPtr.Zero, 0); and IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam){/**/} If I put this on the main windo...

Message passing nomenclature

Is there a reasonably accepted taxonomy for message passing methods? I think I've found a couple of different concepts with a somewhat confusing nomenclature (message queue, mailbox, channels, etc). I'd like to know if there is some reference (book for example) that I could refer to. ...

Best "free" JMS implementation (that doesn't crash all the time)

What is the best free, or GNU licensed JMS server. We want something that is easy to install and will "just work" without too much intervention on our part. We are open to other non JMS and even non Java messing solutions, but there would have to be a compelling reason to use a different non Java based solution with our Java application...

how to convert binary data (ISO-8859-1) to string

I have created an android app. It sends a data message on a port for communicating with the same app on some other phone. While sending the message, i have encoded it into binary data using ISO8859_1 encoding. byte[] b1=payload.getbytes(); I am able to receive the data message at the receiving end. But the problem is that after recevi...

Declaration of exchanges and queues in Spring AMQP

I'm using RabbitMQ and trying to refactor my current native java implementation to using the Spring AMQP abstraction. Declaration of exchanges, queues and their binding using the Spring library is via the AMQPAdmin interface, but I'm not sure when this sort of configuration should happen. I have a web application that uses Rabbit to ...

Apache qpid queue url

I'm trying to learn more information on how apache Qpid works and I do so by following examples from official svn : http://svn.apache.org/repos/asf I was looking at : http://svn.apache.org/repos/asf/qpid/trunk/qpid/java/client/example/src/main/java/org/apache/qpid/example/Hello.java Which uses this configuration/property file : htt...

What is the simplest way to asynchronously communicate between C++ and C# applications

I have a C++ application that needs to communicate to a C# application (a windows service) running on the same machine. I want the C++ application to be able to write as many messages as it wants, without knowing or caring when/if the C# app is reading them, or even if it's running. The C# app be able to should just wake up every now and...

Internal messaging in Rails

I'm using this tutorial to get internal messages working on my site: http://www.novawave.net/public/rails_messaging_tutorial.html But, since my latest upgrade to Rails 3, I'm getting this error: NoMethodError in MsgController#sendmsg undefined method `each' for #<String:0xcc8acc0> Application trace: app/models/message.rb:16:in `prep...

Low latency messaging software

Hi, I have worked with TIBCO RV on applications that require low latency messaging. I have heard of projects where the team had to roll out their own socket code to get messages faster than the speed offered by RV. Are there any tools out there, probably open source that can come close to or better than TIBCO RV? Thanks Hari ...

MQ HTTP payload delivery?

I'm planning a new system heavily reliant on MQ (unknown implementation at this time). Most of my MQ experience is IBM MQ Series and OS/400's data queues but in nearly every case we polled the queues, or wrote a broker to poll and deliver. There are lots of MQ systems out there now. Instead of writing a broker to poll and deliver, are...

Test Drupal Messaging and Notifications without sending messages

Hi there, I'm upgrading a drupal website. There are thousands of users and it is using messaging and notifications. By accident I have sent out loads of notifications to users. Is there any way I can prevent the emails going out to users and still carry out my upgrades? I don't want to disable the modules as I need them enabled to do th...

SQL Queue, execute SP at a future date

I am using SQL Server 2005... I want to monitor table1 with a trigger for an update. On the occurrence of this update, I will check another table (table2), using the data from table2 I place an item in the queue to execute at a variable date in the future. Could be 10 seconds from now, or 2 hours, this date is determined from checking...

Using Flex HTTPService to send http POST to webhook

Hi all, I've used the Flex HTTPService to connect to a backend blazeDS service without any problems at all. The question I have is, can I also use HTTPService to send a HTTP POST message to a server (with basic authentication)? Specifically I'd like to be able to interface Flex with Notifo (https://api.notifo.com) and to interface with ...

What is message-oriented middleware?

I've been trying to figure out exactly what message-oriented middleware is, but haven't been able to find any non-enterprise real world examples that make sense to me. Can anyone give me a clear and easily understandable explanation of what MOM is, and possibly some simple examples of how it's used outside of enterprise? ...

How can I get a behavior to fire before a command in Silverlight - disable double clicking?

I'm trying to build a behavior that disables the button and changes the text to follow the common pattern of disabling a button to stop a user from double clicking. I need the behavior changes to take effect before the commmand. Can I use a behavior this way? view: (set the DataContext in the loaded event of the code behind) <Grid...

Other than ActiveMQ JMS providers with OpenEJB - possibly external

We are in the process of testing OpenEJB solution that embeds ActiveMQ 4.1.1. We observe various problems with messaging (bugs, performance, stability). One option is to upgrade to just released OpenEJB 3.1.3 that comes with later ActiveMQ 5.1.3. But I am trying to evaluate other options in case these problems won't go away. Is it poss...

Alternative for MSMQ for queued WCF in the cloud?

I'm trying to write a durable WCF service, whereby clients can handle that the server is unavailable (due to internet connection, etc) gracefully. All evidence points to using the MSMQ binding, but I can't do that because my "server" is the Azure cloud, which does not support MSMQ. Does anyone have a recommended alternative for accompl...

JMS between Enterprise applications

Hi We have a project where we want to link 2 enterprise systems together using JMS. In a nutshell, system 1 sends a message to the queue. Systems2 picks up that message, does a whole load of processing in the background for about 30mintues and then sends a message back to the queue for System1 to pick up. Can we get away with 1 queue o...