473,394 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Message Queue!

Hi All,

I am going to develop two application which will talk to each other
using MSMQ. I have couple of questions

1. Do we need to install anything extra in client PC to use MSMQ? Since
clients may not have all the XP components installed. Is there a way to
work around this issue if any?
2. Does the user need to be an admin to use the MSMQ since the app will
run under user permission?
3. Is there an alternative to MSMQ for passing commands around two
application?
4. Is there anything else I should be aware of when developing app to
use MSMQ??

Thanks in advance.

Jul 11 '06 #1
2 2243
1. Yes, MSMQ isn't installed by default. Your application installer
(or ClickOnce installation) can list MSMQ as a requirement, but I'm not
sure it can automate the installation of such.

2. It depends I believe; I think the user can create private queues
only. I'm not 100% sure about this though..

3. To have the applications talk? Sure, you can open your own socket
and listen for events. Of course you have to be careful because it may
not be your 'sister' application which is sending data. Of course you
lose the advantage that MSM Queues can be transactional in nature; that
is, delivery is guaranteed.

4. Its fairly straight forward to send and receive messages using the
..Net framework. Getting the queues to forward to each other will be
the challenge; I've only used a queue on a single worktation, never had
to setup one queue to deliver to a queue on another workstation.

Good luck!

DBC User wrote:
Hi All,

I am going to develop two application which will talk to each other
using MSMQ. I have couple of questions

1. Do we need to install anything extra in client PC to use MSMQ? Since
clients may not have all the XP components installed. Is there a way to
work around this issue if any?
2. Does the user need to be an admin to use the MSMQ since the app will
run under user permission?
3. Is there an alternative to MSMQ for passing commands around two
application?
4. Is there anything else I should be aware of when developing app to
use MSMQ??

Thanks in advance.
Jul 11 '06 #2
the queue approach is a scalable approach that will work well in your
circumstance. about the only thing you need to be concerned with is
administration of the service and that is typically a none issue becuase it
requires very little effort. Another gotcha is that messages need to be
serializable because they will be pushed across the network. that's
typically only a problem when you are trying to move custom objects that
don't implement iserializable. you can take advantage of the queue
guaranteed delivery mechanisms as a bonus

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"DBC User" <db*****@gmail.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
Hi All,

I am going to develop two application which will talk to each other
using MSMQ. I have couple of questions

1. Do we need to install anything extra in client PC to use MSMQ? Since
clients may not have all the XP components installed. Is there a way to
work around this issue if any?
2. Does the user need to be an admin to use the MSMQ since the app will
run under user permission?
3. Is there an alternative to MSMQ for passing commands around two
application?
4. Is there anything else I should be aware of when developing app to
use MSMQ??

Thanks in advance.

Jul 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Gary | last post by:
I am planning to implement application to application communication using message queueing. I am using VB.NET on a Win2000 server OS with message queueing services enabled. I am find the...
2
by: Rodrigo GarcĂ­a | last post by:
Hi. The problem is a bit hard to explain. I have a ServicedComponent method which runs a distributed transaction consisting on a a MessageQueue reception and several database operations. That...
4
by: Robert Rossney | last post by:
I'm trying to send and receive XmlDocument objects using the System.Messaging.dll functions. The code I've written follows, as best I can tell, the methodology used in the sample code for the...
4
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...
8
by: Brian Keating EI9FXB | last post by:
Would I be correct in saying that the only way to get a user message into a Windows form would be to use P/Invoke with Message? Of is there some part of the .NET API that I am totally un aware...
6
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...
1
by: Andrew Robert | last post by:
Hi everyone, Could someone help explain what I am doing wrong in this code block? This code block is an excerpt from a larger file that receives transmitted files via IBM WebSphere MQSeries...
2
by: Eugene Anthony | last post by:
I am having a problem with my try and catch found in the code bellow. It never works when there is no msg in the queue. The code bellow is to read and process one message at a time. Upon completing...
1
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) ...
2
by: bernd | last post by:
Hi netties, posted this in a different group already, which seems to be inappropriate. I create a message queue with msgget(), sent a 5-byte message to it with msgsnd() and try to receive the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.