|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Yuxin Zhang (Zhang.Yuxin
ORBITAL.COM)Date: Mon Dec 03 2001 - 08:54:26 CST
Yes, I am using MSMQ. You mean I can use either Mutex or Semaphore object to
lock the message even though the users and background running service are in
totally different processes. Am I right?
Thanks,
Yuxin Zhang
|--------+----------------------->
| | com guy |
| | <com_dc2000
Y|
| | AHOO.COM> |
| | |
| | 12/03/2001 |
| | 01:39 AM |
| | Please |
| | respond to |
| | Distributed |
| | COM-Based |
| | Code |
| | |
|--------+----------------------->
>----------------------------------------------------|
| |
| To: DCOM
DISCUSS.MICROSOFT.COM |
| cc: (bcc: Yuxin Zhang/ORBVA) |
| Subject: Re: Message Queue |
>----------------------------------------------------|
Hi!
I hope u r using MSMQ. If that is the case,
when ever u r accessing a message in the queue u can
lock the purticular message. By this way u can achieve
solving u'r problem.
Cheers ...
Kumar ...
--- Yuxin Zhang <Zhang.Yuxin
ORBITAL.COM> wrote:
> Hello,
>
> I have a background program running as NT service to
> remove messages from
> Message Queue periodically. This message queue is
> also peeked by multiple users.
> How to solve this scenario that background program
> tries to remove one message
> while a user is reading it? If someone is reading
> the message, the message
> cannot be removed until no body accesses it. What
> should I add to that
> background program to check if message is being
> accessed by others?
>
> Thank you,
>
> Yuxin Zhang
>
>
----------------------------------------------------------------
> Users Guide
> http://discuss.microsoft.com/archives/mailfaq.asp
> contains important info. Save time, search the
> archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe,
mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]