eran Posted May 14, 2003 Posted May 14, 2003 (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 May 14, 2003 by eran Quote
*Experts* Nerseus Posted May 14, 2003 *Experts* Posted May 14, 2003 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 Quote "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
eran Posted May 14, 2003 Author Posted May 14, 2003 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? Quote
*Experts* Nerseus Posted May 15, 2003 *Experts* Posted May 15, 2003 Your error message says it all: Message Queuing has not been installed on this computer. And yes, it's a windows option. -Nerseus Quote "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
eran Posted May 17, 2003 Author Posted May 17, 2003 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? Quote
XRacer Posted May 27, 2003 Posted May 27, 2003 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.