473,387 Members | 1,573 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,387 software developers and data experts.

MSMQ best practices

Hi,

I want to send messages from one application to another, working on 2
different computers in a no-domain enviroment using private queues.
Am I to place queue on the source or on the destination machine? What is the
best practice in scope of reliability and cases when one of the computers
could be swithed (brocken down) off?

Thanks.
Przemo
Nov 17 '05 #1
2 5637
Przemo,
I normally write/send to a remote queue, read/receive from a local queue.

If the receiving machine is turned off, the sending machine will hold the
messages in an outgoing queue. Once the receiving machine is turned on the
sending machine MSMQ manager will transmit all the messages.

Reading from a local queue normally performs better & is more reliable, as
you are not holding onto a remote handle...

You may also want to ask this question "down the hall" in one of the
microsoft.public.msmq.* newsgroups, such as
microsoft.public.msmq.programming.

Hope this helps
Jay
"Przemo" <Pr****@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.com...
Hi,

I want to send messages from one application to another, working on 2
different computers in a no-domain enviroment using private queues.
Am I to place queue on the source or on the destination machine? What is
the
best practice in scope of reliability and cases when one of the computers
could be swithed (brocken down) off?

Thanks.
Przemo

Nov 17 '05 #2
Przemo,
I normally write/send to a remote queue, read/receive from a local queue.

If the receiving machine is turned off, the sending machine will hold the
messages in an outgoing queue. Once the receiving machine is turned on the
sending machine MSMQ manager will transmit all the messages.

Reading from a local queue normally performs better & is more reliable, as
you are not holding onto a remote handle...

You may also want to ask this question "down the hall" in one of the
microsoft.public.msmq.* newsgroups, such as
microsoft.public.msmq.programming.

Hope this helps
Jay
"Przemo" <Pr****@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.com...
Hi,

I want to send messages from one application to another, working on 2
different computers in a no-domain enviroment using private queues.
Am I to place queue on the source or on the destination machine? What is
the
best practice in scope of reliability and cases when one of the computers
could be swithed (brocken down) off?

Thanks.
Przemo

Nov 17 '05 #3

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

Similar topics

2
by: byrocat | last post by:
I'm chasing after a documetn that was available on one of the Microsoft websites that was titled somethign like "MS SQL Server Best Practices" and detailed a nyumber of best practices about...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
0
by: Przemo | last post by:
Hi, I want to send messages from one application to another, working on 2 different computers in a no-domain enviroment using private queues. Am I to place queue on the source or on the...
13
by: john doe | last post by:
A quick question, about so-called 'best practices', I'm interested in which of A/B of the two examples people would choose, and why. public enum MyEnum { Option1 = 0, Option2 = 1, Option3 =...
2
by: Amelyan | last post by:
Could anyone recommend a book (or a web site) that defines best practices in ASP.NET application development? E.g. 1) Precede your control id's with type of control btnSubmit, txtName, etc. 2)...
4
by: Luis Esteban Valencia | last post by:
Hello. Can somebody recomend me books of design patterns in c# and best practices too.
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
0
by: Louis Aslett | last post by:
I hope this is the correct newsgroup for this query (if not please give me a pointer to where is best): I understand the theory of normalisation etc and am trying to follow best practices in the...
10
by: Ren | last post by:
Hi All, I'm still rather new at vb.net and would like to know the proper way to access private varibables in a class. Do I access the variable directly or do I use the public property? ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.