message queues

eran

Regular
Joined
Apr 12, 2003
Messages
66
Location
Israel
Hi.

Can any one help me using the message queues class?
I have a simple app which has threads. I want one of my message queues to sit in
a thread.
any help will be thank full.
BTW, what is the meaning of Transactions and nontransactions message Queues?

This is the error i get when I run the app.
My app passes the compilation!



"Additional information: Message Queuing has not been installed on this computer.
"
 
Last edited:
First, do you know what Message Queuing is? It's a relatively advanced topic and you should probably do some reading before trying to do a multi-threaded, message enabled application.

Your first problem is that you don't have Message Queueing installed. It's a Windows option so you'll have to go to Add/Remove Programs and select Add/Remove Windows Components. I think it's available on WinNT, Windows 2000 and XP Pro, but not much else.

If you read the standard windows help on message queuing, it can explain what transactional queues are and how you can use them. It won't explain why you'd want to necessarily as that's generally left up to you to decide what technology is best.

Now, if you just want a queue type of object look in System.Collections for the Queue class.

-Nerseus
 
Yes, I know what's messageQ. Not very well. I used to do some work on OS VxWorks. It was simple there.
Are you sure that I need to install that on windows and not in the .NET?
 
I c.. So what happens when I install an app which uses messageQ
in a machine that doesn't supports messageQ?
Is it automaticly installed or sn exception ocurs?
 
The client machine/server HAS to have Message Queueing installed in order to receive/send messages. Also, if you want to use Transactional messages, make sure you're not trying to send messages across different domains or networks that are natted or you'll never see the messages.
 
Back
Top