Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

delay in the delvery aim

3 posts in General Discussion Last posting was on 2007-06-21 18:42:10.0Z
David Ma Posted on 2007-06-21 13:31:02.0Z
From: "David Ma" <dma@mchs.com>
Newsgroups: sybase.public.impact
Subject: delay in the delvery aim
Lines: 6
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: mail.mchs.com
X-Original-NNTP-Posting-Host: mail.mchs.com
Message-ID: <467a7d96$1@forums-1-dub>
Date: 21 Jun 2007 06:31:02 -0700
X-Trace: forums-1-dub 1182432662 207.238.203.194 (21 Jun 2007 06:31:02 -0700)
X-Original-Trace: 21 Jun 2007 06:31:02 -0700, mail.mchs.com
X-Authenticated-User: impact
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.impact:2056
Article PK: 230137

In my delvery aim, I want to send the second transaction after at least 10
seconds after the first message is sent. Thanks for any suggestion!

David


chris Posted on 2007-06-21 14:24:07.0Z
Sender: 1de3.465ba54e.1804289383@sybase.com
From: Chris
Newsgroups: sybase.public.impact
Subject: Re: delay in the delvery aim
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <467a8a07.2ed0.1681692777@sybase.com>
References: <467a7d96$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Jun 2007 07:24:07 -0700
X-Trace: forums-1-dub 1182435847 10.22.241.41 (21 Jun 2007 07:24:07 -0700)
X-Original-Trace: 21 Jun 2007 07:24:07 -0700, 10.22.241.41
Lines: 24
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.impact:2057
Article PK: 230136

The SFM will send the next message as soon as it receives a
reply from the delivery AIM - so, I would just not reply
until 10 seconds after the destination replies.

Changing the code:
typically in the delivery AIM there is a timer to check for
the endpoint not sending a reply

This timer could be used for either an acknowledgement
timeout
or an actual acknowledgement

the trick would be to not "resume" the servproc function
when the acknowledgement is received and always wait for the
timeout

> In my delvery aim, I want to send the second transaction
> after at least 10 seconds after the first message is
> sent. Thanks for any suggestion!
>
> David
>
>


Christian Deschamps Posted on 2007-06-21 18:42:10.0Z
Sender: 72b0.4678177b.1804289383@sybase.com
From: Christian Deschamps
Newsgroups: sybase.public.impact
Subject: Re: delay in the delvery aim
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <467ac682.36f0.1681692777@sybase.com>
References: <467a7d96$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Jun 2007 11:42:10 -0700
X-Trace: forums-1-dub 1182451330 10.22.241.41 (21 Jun 2007 11:42:10 -0700)
X-Original-Trace: 21 Jun 2007 11:42:10 -0700, 10.22.241.41
Lines: 16
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.impact:2060
Article PK: 230140

clSleep(10);

You just have to write this line at the beginning of the
servproc function.

It will force a delay of 10 seconds before processing the
outgoing transaction.
Hope it helps.

> In my delvery aim, I want to send the second transaction
> after at least 10 seconds after the first message is
> sent. Thanks for any suggestion!
>
> David
>
>