Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

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.

"

Edited by eran
  • *Experts*
Posted

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

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

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?

  • *Experts*
Posted

Your error message says it all: Message Queuing has not been installed on this computer. And yes, it's a windows option.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

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?

  • 2 weeks later...
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...