473,320 Members | 2,112 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,320 software developers and data experts.

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 2276
Check out the System.Messaging namespace.

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

Tim Haughton

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

"Ash" <As*@discussions.microsoft.com> wrote in message
news:5E**********************************@microsof t.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(string path);
public MessageQueue(string path, bool sharedModeDenyReceive);

Thanks alot!
Nov 17 '05 #3

"Ash" <As*@discussions.microsoft.com> wrote in message
news:D0**********************************@microsof t.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(string path);
public MessageQueue(string path, bool sharedModeDenyReceive);

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\queue 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.Messaging namespace.

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

Tim Haughton

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

"Ash" <As*@discussions.microsoft.com> wrote in message
news:5E**********************************@microsof t.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
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...
5
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...
1
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...
2
by: deepak | last post by:
how to create msmq queue at remote machine? n how to send messege to remote queue? -- deepak
2
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...
0
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...
5
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 ...
14
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...
3
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,...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.