message-queue

Can a message queue be shared across PHP scripts?

How do I create message queue in PHP, such that it can be modified and read by 2 different scripts running at the same time? Or is it better to use a database for this? ...

postthreadmessage and peekmessage problem in delphi 2006

I created a multichilded application. The application windows (W[n]: TMyWindows) are all the same and all have an private object class instance associated with them (E: TMyObject). The child windows generate through this objects some messages. I have created in the main application two threads which process these messages depending on th...

Multithreaded single-reader single-writer fifo queue

I need a queue for passing messages from one thread (A) to another (B), however ive not been able to find one that really does what I want, since they generally allow adding an item to fail, a case which in my situation is pretty much fatal since the message needs to be processed, and the thread really cant stop and wait for spare room. ...

Queue's and Queue Listeners

For enterprise applications, does anyone else use Queues and Queue listeners A LOT? I feel like this has become my goto architecture for achieving asynchronous processing. I'm a little worried I'm overdoing it or adding unnecessary complexity, right now I have an application that uses 4 MSMQs and 3 windows services. The services listen...

JBoss EJB3 MDB config

I am trying to understand some EJB 3 code running in JBoss 4.3. We've got an ejb3-interceptors-aop.xml file configured in JBoss with some MDB configuration and then we've got the MDB Java class. What I'd like to understand is when and how does the MDB get "bound" to the MQ? That is, when/how does the MDB start listening to the MQ que...

Can you/should you use SQL Server Service Broker with .NET applications?

I have many operations in the database that need to trigger application code. Currently I am using database polling, but I hear that SQL Server Service Broker can give me MSMQ-like functionality. Can I listen to SQL Server Service Broker queues from .NET applications running on a different machine? If so, should I do it? If not, what w...

Using messaging to do writes as well as reads

Hi, I come from a web background where I only have to deal with HTTP so please excuse my ignorance. I have an app which where clients listen for changes in a message queue which uses stomp. Previously the client only needed to listen to the relevant channels for messages telling them about changes on the server and update themselves ac...

JMS architectural problem?

Greetings, In the application that I am working on, I have a long-running process (DNA analysis). Users can send requests, and I am thinking of queuing the requests in a JMS queue, then processing the requests in the queue accordingly. Then, the result is emailed to the particular user. However, an admin should be able to change the ...

Process All Windows Messages Generated By A Compact Framework Application

Hi Folks, Hoepfully someone can shed some light on a problem - I am trying to listen to\intercept all windows messages generated by an application and dispose of certain types, for example Notify or Gesture messages. I have been reading articals on how to do this using the Microsoft.WindowsCE.Forms.MessageWindow and creating a class wh...

Unicode support for xp and server 2000

Hi all, I am getting error on windows server 2000 "unsupported unicode format" while reading message from IBM MQ. but its working on xp. i am using UTF8 unicode. ...

What are some techniques to push changes from tokyo cabinet in a multi-service setup?

Let's say I have N > 1 TCP-based, connection-oriented (read: not a website) services handling connections from end users in some load-balanced/sharing configuration. These users do things that cause updates to one or more keys in the centralized Tokyo Tyrant datastore. What do you recommend to push these changes to interested users c...

How to solve "msgget: No space left on device" error?

I am writing an IPC application using message queues. While using msgget() function to get Message Queue I am getting this error. The requested operations does not require lot of space on the device and there should be space left as well. Any ideas. Thank you in advance ...

Blackboard messaging using queues

I have an application, where I need to add role-based messaging. The messages are generated ny the application itself, and every message have an starttime (where is show on the client message-window) and an expire-time. Depending on your role, you will see a subset of the messages. Some messages are VERY important, and should be pushed t...

How can I cleanup the IPC message-queue?

I am using msgget() function in my IPC based application. How can I clean up the queue filled up with old message queues? ...

Building a Message Delivery Queue in PHP

I'm building a system that will send verses of scripture to subscribers over e-mail. Subscribers will be able to: Determine what volume of scripture they want to receive verses from Determine the daily frequency of the messages and how many verses will be included in each message Determine which times of day they want to receive the me...

How can I implement JMS MessageListener?

I tried to implement MessageListener, but it dosen't work, but when I use MessageListner, it doesn't work. So what should I do that MessageListener starts working, I'm using jboss 4.02. recv.receive(); // This works recv.setMessageListener(new ExListener()); // This doesn't work public static class ExListener implements Messa...

How to handle MSMQ delay problem?

Scenerio: Function A() ->creates the message and puts the message in the queue Listener -> checks constantly if theres a message in the queue and sends it to the service to process it and get the result and inserts the result into db Function B() ->gets the result from the db Suppose the result from the service hasn't com...

IBM MQ series C++ to C# translation (transport type, heartbeat interval)

I have ported a few bits of code from C++ to C# - everything seems to be working, though I am not satisfied with my work since I have skipped over a few things which were in a C++ version - but I am not sure how to do that in a C# version. Basically the difference is that C++ and C# wrappers for IBM MQ series has a slightly different o...

Is there a JMS queue browser GUI tool that can integrate with Glassfish ?

The title says it all. I have a few JMS queues created on Glassfish 2.1 server. I need a GUI browser that lets me view the messages being sent to the queue in real time. I read about Hermes on another SO thread but I am not sure if it works with Glassfish. I also installed this plugin for Netbeans but it isn't working for me ( I get ...

PocketPC c++ windows message processing recursion problem

Hello, I am having a problem in a large scale application that seems related to windows messaging on the Pocket PC. What I have is a PocketPC application written in c++. It has only one standard message loop. while (GetMessage (&msg, NULL, 0, 0)) { { TranslateMessage (&msg); DispatchMessage (&msg); } } We also have ...