473,761 Members | 8,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MSMQ on remote PCs

Ash
Is there a built in classes in .NET to make it easy to read/write MSMQ
messages to/from remote queues?
If not then what is the best way to implement it?
Nov 17 '05 #1
4 2297
Check out the System.Messagin g namespace.

http://msdn.microsoft.com/library/de...mmessaging.asp
--
Regards,

Tim Haughton

Agitek
http://agitek.co.uk
http://blogitek.com/timhaughton

"Ash" <As*@discussion s.microsoft.com > wrote in message
news:5E******** *************** ***********@mic rosoft.com...
Is there a built in classes in .NET to make it easy to read/write MSMQ
messages to/from remote queues?
If not then what is the best way to implement it?

Nov 17 '05 #2
Ash
Thanks, But I know about the Messaging NS. What i was hoping it might have is
a param in the constructor (or a Property) of MessageQueue Class that lets
you set a computer name or IP addr.
Am i asking too much? ;) Wouldn't it be nice!
The 3 Constructors are:
public MessageQueue();
public MessageQueue(st ring path);
public MessageQueue(st ring path, bool sharedModeDenyR eceive);

Thanks alot!
Nov 17 '05 #3

"Ash" <As*@discussion s.microsoft.com > wrote in message
news:D0******** *************** ***********@mic rosoft.com...
Thanks, But I know about the Messaging NS. What i was hoping it might have
is
a param in the constructor (or a Property) of MessageQueue Class that lets
you set a computer name or IP addr.
Am i asking too much? ;) Wouldn't it be nice!
The 3 Constructors are:
public MessageQueue();
public MessageQueue(st ring path);
public MessageQueue(st ring path, bool sharedModeDenyR eceive);

Thanks alot!


Well, the path argument is exactly what you are looking for, why not consult
the docs for details regarding the path format?

Willy.
Nov 17 '05 #4
Ash
OH i didnt know that the path is the machine_name\qu eue name.
I thought it was only the queue name.
I guess its one of those silly little things that you miss.
Thanks...
Explained in
http://msdn.microsoft.com/library/de...ctortopic2.asp
Format is
Public queue: MachineName\ QueueName
Private queue: MachineName\ Private$\ QueueName
Journal queue: MachineName\ QueueName\ Journal$
Machine journal queue: MachineName\ Journal$
Machine dead-letter queue: MachineName\ Deadletter$
Machine transactional dead-letter queue: MachineName\ XactDeadletter$

"Tim Haughton" wrote:
Check out the System.Messagin g namespace.

http://msdn.microsoft.com/library/de...mmessaging.asp
--
Regards,

Tim Haughton

Agitek
http://agitek.co.uk
http://blogitek.com/timhaughton

"Ash" <As*@discussion s.microsoft.com > wrote in message
news:5E******** *************** ***********@mic rosoft.com...
Is there a built in classes in .NET to make it easy to read/write MSMQ
messages to/from remote queues?
If not then what is the best way to implement it?


Nov 17 '05 #5

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

Similar topics

6
5908
by: Bryce | last post by:
In reference to Q173339, this code works fine if accessing a local queue on the same Server as the IIS is running, but fails if accessing a remote queue I have provided credentials via Anonymous Logon, and this then works with the Administrator logon, but with no other credentials. The remote queue has "Everyone" and "ANONYMOUS LOGON" with all access priviliges. Both Servers are running Windows 2003 and MSMQ 3. Code Follow < set...
5
2828
by: Girish G | last post by:
I am trying to invoke a queued component and to my surprise the call succeeds locally but fails when the component resides on a separate box. Both the machines (client and server) in use have MSMQ installed in workgroup mode. I dont seem to get any exceptions or event messages. The outgoing queue on the client shows that messages were sent but no acknowledgements were received. Heres the client code
1
8660
by: Kishore Gopalan | last post by:
Hi, I have a strange trouble. My application sends messages to a local MSMQ Queue (say 'A') and I use a listener (a windows service) to move the messages to another local queue (say 'B') and my application polls for messages in 'B' and receives them successfully. Then, I moved the Windows Service to a remote machine and configured my application to send messages to a queue (say 'R') in that remote machine. I excpected the Windows...
2
8880
by: deepak | last post by:
how to create msmq queue at remote machine? n how to send messege to remote queue? -- deepak
2
5678
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 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
0
1233
by: Boris | last post by:
I have a service developed in Visual C++ in "mixed mode" (originally developed as unmanaged under VS 6.0, and now uses managed FCL classes). I use FCL System.Messaging.MessageQueue and System.Messaging.Message classes to read messages from private MSMQ on local and remote machines. Occasionally (every couple of weeks to a month), my service (let's call it "MyService") "terminates unexpectedly." A message is written to System log...
5
11665
by: Alex Nitulescu | last post by:
Hi. I'm trying to make MSMQ work, so I go to Control Panel, Windows Components, I select MSMQ (Message Queuing Client Setup, actually) and about half-way through I get a nice message box saying The MSMQ service cannot be started. Error code: 0x42C The Dependency service or group failed to start. If I acknowledge, the "installation" continues as if nothing happened, but in the end nothing has been installed.
14
15876
by: Webbee | last post by:
I have a service built that is trying to read messages from a private que. When this tries to happen I get this error.... A workgroup installation computer does not support the operation From what I read I need to have my system setup on a domain, is this correct? For my dev work I'm not going to have that envirorment available and everything is tested on one laptop. Is there anything I can do? Thank you
3
3706
by: Claudia | last post by:
Hi all... I'm working on a project that uses MSMQ as its core for inter-process communication. At the moment there is a single process that listens for inbound TCP-based messages on a socket, and when something is received it gets packaged up and sent to an MSMQ queue for further processing. The process on the listening end of this queue will process the message and either (a) send a response to the originator, or, (b) send an...
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9376
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9811
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8813
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.