member
for certain.
Dino
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Eddie Lascu
Sent: Wednesday, 13 June 2007 01:38
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] MSMQ accross different domains
Hi,
This
Hi,
This topic was further developed on a different forum:
http://tinyurl.com/ej53c
FormatNames is the answer to my initial question. However, the problem
evolved into something new and the thread has grown to 15 posts and
counting so far.
Thanks,
Eddie
===
This
Here is an example of the string we used to create a queue on a different
domain.
FORMATNAME:DIRECT=TCP:[EMAIL PROTECTED]
> Date: Fri, 8 Jun 2007 09:22:30 -0500> From: [EMAIL PROTECTED]> Subject: Re:
> [ADVANCED-DOTNET] MSMQ accross different domains> To:
&g
Eddie, I'm not an MSMQ guru, but the following links seem promising:
http://www.microsoft.com/technet/archive/winntas/proddocs/ntmsgqmn/msmqad05.mspx?mfr=true
http://msdn.microsoft.com/msdnmag/issues/03/12/MSMQandNET/
http://download.microsoft.com/download/c/5/3/c531b70d-f7a8-4c9f-a996-4e8abe49e9
Paul,
I think it all boils down to having too many messages received in that
queue. If they are not all intended for one application (and from your need
to iterate thru them it seems like so) I would suggest using multiple
incoming queues (each application with its own queue) so that the volume of
I construct a queue name without the FormatName, like
string queueName = string.Format(".\\Private$\\xpLog{0}",
institutionId);
Pass that to MessageQueue.Create and it seems to work fine in all
circumstances. The debugger shows the queue with
FormatName "PRIVATE=8
Can you tell us what's happening or it's not happening? If this were my
problem, I would try to see if user privileges have changed after the
machines were replaced. I may be wrong, but I believe that sending messages
to a remote private queue cannot be done unless the sender has some rights
on the
@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] MSMQ woes
I construct a queue name without the FormatName, like
string queueName = string.Format(".\\Private$\\xpLog{0}",
institutionId);
Pass that to MessageQueue.Create and it seems to work fine in all
circumstances. Th
AIL PROTECTED]
> Date: Thu, 27 Jul 2006 13:01:51 -0400> From: [EMAIL PROTECTED]> Subject: Re:
> [ADVANCED-DOTNET] MSMQ Return Messages> To:
> ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> > When you send the message, you set up
> the response queue and later on the> sender s
Thanks Eddie. I havent worked much on response related queues, so it was a new
bit to me.
=
"You must never be satisfied with success, and you should never be discouraged
by failure. Failure can be sad, but the greatest sadness is not to try and
fail, but to fail to try. In the end, what ma
f advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of ravi teja
veerla
Sent: Thursday, July 27, 2006 1:06 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] MSMQ Return Messages
If you are looking for matching a response to a request, im really not sure
if you can do it wi
If you are looking for matching a response to a request, im really not sure if
you can do it without designing the sender of the request to send a unique id
per message and, making the sender of the response to send it back in the
response. Experts, please correct me if im wrong.
Thanks,
Ra
When you send the message, you set up the response queue and later on the
sender side can try to receive the response asynchronously. I am not sure
what your problem is. From what I understand, it could be one of the
following:
- you don't know how to get responses back. If this is your problem, y
This guy might be able to direct you to some. 10 years in Microsoft's MSMQ
development team.
Yoel Arnon
http://msmq.spaces.msn.com/
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Eddie Lascu
Sent: Thursday, July 27, 2006 11:23
To: ADVA
Unless set otherwise, only the account that created a queue has full
access to it to delete it. The "Everyone" group can write to, but not
read from, the queue.
I'd say you have permission issues. Delete the queue using the account
that created it, then re-create it as admin and set the appropriat
; From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Chad M. Gross
> Sent: Wednesday, March 09, 2005 15:46
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: Re: [ADVANCED-DOTNET] MSMQ or .net remoting
>
> Do you have a link
gt;Cargo Tracking Online at:
>www.cargosmart.com
>
>
>
>> -Original Message-
>> From: Unmoderated discussion of advanced .NET topics.
>> [mailto:[EMAIL PROTECTED] On Behalf Of Jekke Bladt
>> Sent: Monday, March 07, 2005 11:33
>> To: ADVANCED-DOTNET@DISCUS
I think the problem domain needs to be little bit more
elaborated to understand what will best fit your
application. Using MSMQ should not be simply using
MSMQ on your machine. You should have good MSMQ setup
to provide resilience to your distributed apps; have a
proper MSMQ setup (software/infrast
rch 07, 2005 11:33
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: Re: [ADVANCED-DOTNET] MSMQ or .net remoting
>
> I'm under this impression that that's only if you implement
> custom listeners. Everything else looks like it will work
> going forward.
>
> --Jekke
>
day, March 07, 2005 12:29 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] MSMQ or .net remoting
Depending on the life expectancy of your project you may want to keep in
mind that MS has stated that solutions that use .Net Remoting may not be
compatible with Indigo.
R
Depending on the life expectancy of your project you may want to keep in
mind that MS has stated that solutions that use .Net Remoting may not be
compatible with Indigo.
Regards,
J. Vince Pacella / OOCL Chicago
Cell 773-454-8683 Fax - 773-867-5050
Cargo Tracking Online at:
www.cargosmart.com
05 11:19 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] MSMQ or .net remoting
The choice comes down to coupling.
Communication via a messaging system like MSMQ de-couples the
client(s) and server(s). You send your message off into the ether, and
something sooner or later
ilto:[EMAIL PROTECTED] On Behalf Of Brad Wilson
Sent: Saturday, March 05, 2005 4:19 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] MSMQ or .net remoting
The choice comes down to coupling.
Communication via a messaging system like MSMQ de-couples the
client(s) and serve
The choice comes down to coupling.
Communication via a messaging system like MSMQ de-couples the
client(s) and server(s). You send your message off into the ether, and
something sooner or later will come and get it and do someting with
it. There's no direct connection, so clients and servers can s
Hi Stoyan,
The format I used is '.\private$\queuename'.
Have resolved the problem though. Did an iisreset on the webserver, after
which I am able to send messages. The person who installed MSMQ did not do
this, so looks like iis needed a reboot to come back in synch.
Thanks.
Tapan.
==
Is your message queue in the following format?
"FormatName:Direct=OS:MACHINE_NAME\Private$\QUEUE_NAME"
HTH,
Stoyan
> -Original Message-
> From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Tapan Sengupta
> Sent: Friday, May 21, 2004 1:50 AM
>
Its working. Thanks
-Original Message-
From: Willy Denoyette [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 8:18 PM
To: S, Saravana
Subject: RE: MSMQ
MSQM exposes the number of messages and byte count through perf. Counter
values.
Reading them using System.Management and W
MSMQ has a disk based message store (Memory Mapped files I believe).
Try moving it to a larger disk. Your "Insufficient Memory" problem
should go away provided you do not continue to exceed the capacity of
the disk.
Incidentally, how much physical memory does the machine have that hosts
the queue?
What is each worker doing? It would be far more efficient to put a
message onto the queue that contains several work items instead of one
at a time. Chunky processing is much preferred to the fine grain
processing your are trying to do. If the work of each worker is very
fast, then queue overh
Why not write a Windows service that is the mediator between your app
and MSMQ, let the service monitor the message queue count?
[Saravana, S] I am using MSMQ for a set of threads in my app to
communicate with each other. Have a seprate service to monitor the count
seem to be an additional overhea
Wouldn't the easiest thing to do would be to catch the exception, sleep
for a set amount of time say 10 seconds then try again if it fails again
then increase the sleep amout, say double, then keep trying while
doubling the sleep time. What you may want is a threshold which the
sleep time doesn't
CED-DOTNET] MSMQ
Can you not query the performance counters for MSMQ?
From: Unmoderated discussion of advanced .NET topics. on behalf of Saravana
Prasad S
Sent: Wed 5/12/2004 11:25 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] MSMQ
I tried using enumerator. It behaved differtly in
Can you not query the performance counters for MSMQ?
From: Unmoderated discussion of advanced .NET topics. on behalf of Saravana Prasad S
Sent: Wed 5/12/2004 11:25 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] MSMQ
I tried using enumerator. It behaved differtly in different
assume that other
databases have something similar.
Wally
- Original Message -
From: "David Barnhill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thu, 13 May 2004 09:01:58 -0400
Subject: Re: [ADVANCED-DOTNET] MSMQ
What is each worker doing? It would be far m
size limits.
From: Unmoderated discussion of advanced .NET topics. on behalf of Saravana Prasad S
Sent: Wed 5/12/2004 11:25 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] MSMQ
I tried using enumerator. It behaved differtly in different scenarios
Scena
Why not write a Windows service that is the mediator between your app and
MSMQ, let the service monitor the message queue count?
Ron
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NE
> -Original Message-
> From: Saravana Prasad S [mailto:[EMAIL PROTECTED]
> The problem is the reader thread can not keep sending
> millions of messages to MSMQ as there is a memory limit. I
> treid to send as mamy messages as possible to msmq. But after
> sending two and a half
I have no clue what WMI is ??? Could you give more detail on that ???
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
Tomiczek
Sent: Wednesday, May 12, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET
> I have no clue what WMI is ??? Could you give more detail on that ???
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/
wmi/wmi_start_page.asp
Windows Management Instrumentation (WMI) is a component of the Microsoft
Windows operating system and is the Microsoft implementa
-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Day
Sent: Wednesday, May 12, 2004 11:01 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] MSMQ
I'm not sure if this works, and it is inefficient but call
GetEnumerator() on the MessageQ
.
[mailto:[EMAIL PROTECTED] On Behalf Of Curt
Hagenlocher
Sent: Wednesday, May 12, 2004 7:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] MSMQ
From: "Saravana Prasad S" <[EMAIL PROTECTED]>
> Is there anyway one can programatically know the number of messages in
&g
From: "Saravana Prasad S" <[EMAIL PROTECTED]>
> Is there anyway one can programatically know the number of messages
> in a queue. I couldn't figure out any in System.Messaging namespace.
If you're using MSMQ 3.0 (which is in Windows XP and 2003 Server), there's a
new queue property called PROPID_
Isn't there a WMI integration where you can see the queue and it's
parameters?
Should be.
Thomas Tomiczek
THONA Software & Consulting Ltd.
(Microsoft MVP C#/.NET)
(CTO PowerNodes Ltd.)
> -Original Message-
> From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECT
I'm not sure if this works, and it is inefficient but call
GetEnumerator() on the MessageQueue class then iterate though each
message incrementing a counter, and voila you have the number of
messages. I'm not sure if iterating is going to pull the messages off,
or that it will be quick!
If you ju
Hmm. It works for me(at least in a quick VB.NET Winforms app). I
dragged an MSMQ Component from the tool box, set it to a local queue,
opened it for receive access, added both event handlers, and I got
both events. What OS platform, what process environment (winform,
console, web app or nt se
Thanks for your answer, I'll try extracting the messages manually.
There is one more twist... If I insert a Thread.Sleep(100) just after
sending the message to the queue, now all messages show in the SnapIn
regardless how many were sent, under this conditions it seems there is no
limit (WinXP) in
The missing messages are in the queue. The MMC snap-in doesn't show all
the messages in the queue after the number of messages reaches a certain
point (and that point was about 1000 on Windows 2000, haven't tried it
on Windows XP). Because you are altering the priority of the messages
randomly,
47 matches
Mail list logo