Hi All,
I have a question about the queue service. I'm trying to set up a STAX
job that would receive messages at random intervals, and process them
one by one (only one can be processed at a time). So the idea was that
my message generator would queue messages to the STAX job's handle, and
it would pull them out one by one and process them one at a time.
I start a STAX job that would wait for messages to be queued to the
process's handle.
<stafcmd name="'Waiting
for message...'">
<location>'local'</location>
<service>'QUEUE'</service>
<request>'GET WAIT'</request>
</stafcmd>
Then, from the command line (on the same machine as the STAX process), I
enter:
"STAF local QUEUE 'request1' HANDLE ### "
Where ### is the STAX job's handle. The STAX job would almost never get
the first 2 or 3 messages. After that, it only gets messages while it's
waiting (messages queued while the STAX job is processing the message
get lost).
Any ideas what I could be doing wrong here?
Thanks,
Mayad
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users