microsoft.public.sqlserver.notificationsvcs
[Top] [All Lists]

Re: Pause/Continue distribution, content formatting or delivering.

Subject: Re: Pause/Continue distribution, content formatting or delivering.
From: Joe Webb
Date: Mon, 11 Jul 2005 11:41:34 -0500
Newsgroups: microsoft.public.sqlserver.notificationsvcs
On Mon, 11 Jul 2005 01:13:02 -0700, Roman Yurkin <Roman
[email protected]> wrote:

>Thanks.
>
>I want to specify the question. I have one NS instance and one application 
>in this instance. This application contains one event class with one 
>parameter (Site_ID). Application gets some events with different Site_ID 
>(e.g. 1,2,3) and creates several notification batches for each event. I want 
>to pause or stop delivery process for notifications (may be, distributor work 
>items?) for some Site_ID (e.g. 2). Can I do this?
>
>
>"Joe Webb" wrote:
>
>> Hi Roman - 
>> 
>> To disable the distributor while allowing everything else to remain
>> enabled, run the following command from the NS command prompt
>> (assuming v2.0):
>> 
>> nscontrol disable -name <InstanceName> -distributor
>> 
>> To re-enable it:
>> 
>> nscontrol enable -name <InstanceName> -distributor
>> 
>> 
>> HTH...
>> 
>> Joe
>> 
>> -- 
>> Joe Webb
>> SQL Server MVP
>> 
>> 
>> ~~~
>> Get up to speed quickly with SQLNS
>> http://www.amazon.com/exec/obidos/tg/detail/-/0972688811 
>> 
>> I support PASS, the Professional Association for SQL Server.
>> (www.sqlpass.org)
>> 
>> 
>> 
>> On 8 Jul 2005 13:40:31 -0700, "kate" <[email protected]> wrote:
>> 
>> >if i understand your question correctly, you want to create the
>> >notification batches and then wait until some later time to distribute
>> >them.
>> >
>> >Notification batches are prepared by the generator component ready for
>> >protocol specific processing by the distributor component.
>> >
>> >The distributor wake-up interval is completely seperate from the
>> >generator which creates the notification batches, so you can set them
>> >separately and the notifications will be prepared and wait until the
>> >distributor wakes up. Equally you can completely disable the
>> >distributor separately and nothing will sent out until you enable it
>> >again. Shyam, has posted about controlling the expiration of
>> >notifications so that you can define if any should be discarded as too
>> >old.
>> >
>> >hope that helps
>> >
>> >Kate MBCS
>> >
>> >Alert Technologies
>> >http://www.alert-technologies.co.uk
>> >Get your notification services implementation going in minutes not
>> >weeks ......
>> 
>> 



-- 
Joe Webb
SQL Server MVP


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811 

I support PASS, the Professional Association for SQL Server. (www.sqlpass.org)

<Prev in Thread] Current Thread [Next in Thread>