message queues

Eran

Member
Joined
Apr 12, 2003
Messages
69
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 by a moderator:
First, do you know what Message Queuing is? Its 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 dont have Message Queueing installed. Its a Windows option so youll have to go to Add/Remove Programs and select Add/Remove Windows Components. I think its 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 wont explain why youd want to necessarily as thats 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 whats 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?
 
Your error message says it all: Message Queuing has not been installed on this computer. And yes, its a windows option.

-Nerseus
 
I c.. So what happens when I install an app which uses messageQ
in a machine that doesnt 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 youre not trying to send messages across different domains or networks that are natted or youll never see the messages.
 
Back
Top