473,545 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Polling with message queue

1 New Member
Hi, all
PLEASE HELP!!!
I wrote a code for one application and add a pthread also. Now I want to add queue with polling for alert part if some info is comming or not ! But problem is I don't have any idea about queue with polling. Please suggest something where to start ! or any pseudo code.
Thankyou.
Feb 17 '23 #1
0 6583

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1514
by: thejackofall | last post by:
Hi I have a MSMQ message queue in a Windows Service. When a message arrives in the queue locally, an event is generated and the event handler handles it. However, if a message arrives in the queue from another machine, the event is not generated. Thus, the event handler isn't executed. I checked the properties and gave "everyone" the...
7
1595
by: Flip | last post by:
I've been reading about message queues (ex http://www.devx.com/dotnet/Article/27560) and I thought I had installed the message queue from the IIS install, and I can see it running in Services, but when I goto look at it under the MMC tool under Applications, it's not there? Am I doing something wrong? Does it not show up in there, unless I...
4
2756
by: Tingo | last post by:
Hi all, Is it possible to create a message queue with a specific ID? I want to do this because I'm trying to write a piece of software which restores communicating processes (which communicate through message queues) when there is a machine failure. When restarting the machine I need to setup the message queues as they were originally. I...
2
2750
by: Steve Lutz | last post by:
Hi All, I am trying to read and write to a message queue. (System.Messaging) I can read and write to a queue. However, the consummers of the queue messages are going to be a mixed bag of application, some of which I do not have control over. When I send a message to the queue, the body of the message is formatted into XML. I do not want...
1
3236
by: Susan | last post by:
I've had to separate my application into 2 apps. I need to second app to poll the message queue for certain messages from the main app. Does someone have some code on how to do this? I have the first app sending the messages, but only have the second app able to respond once. The second app is started from the first app as an independent...
0
2119
by: Marcus | last post by:
Hello All, I am trying to create a private MSMQ message queue on a remote application server from an asp.net application using the following code: Dim queue As MessageQueue queue = MessageQueue.Create("FormatName:DIRECT=OS:AppServer\private$\" & Me.TextBox1.Text)
0
994
by: Willy | last post by:
Dear Sir, I have a quesion about the transactional microsoft message queue order. On the microsoft web site it is written that, if multiple messages are sent to the same queue, Message Queuing guarantees that they arrive in the destination queue exactly once and in the order in which they were sent within the transaction, therfore by the...
6
16700
by: les | last post by:
Here's a class which uses 2.0 generics to implement an inter-thread message queue in C#. Any number of threads can post and read from the queue simultaneously, and the message object can be any type. There's a test driver at the bottom which demonstrates usage. ...
2
1880
by: hc0605 | last post by:
Hi everyone, I am a newbie to GUI application, and I need help in understanding some concepts: For a Windows-based GUI application, the system maintains a single system message queue. Mouse events etc. are converted into messages and are put in the system message queue by device drivers. The system removes the messages from the system...
1
3240
by: davidcollins001 | last post by:
Hi, I am trying to implement a blocked or synchronous method of message passing using signal interrupts. So far I have the following: server.c { msgget(queue) msgrcv (queue mtype) while(data to send) {
0
7401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7808
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7423
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5329
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4945
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1014
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
704
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.