See the description of the QUEUE service's QUEUE request in section "8.13.2 QUEUE" in the STAF User's Guide at http://staf.sourceforge.net/current/STAFUG.htm#HDRQUEUESRV. It also provides an example of using the TYPE option. STAF local QUEUE QUEUE NAME "MyApplication" TYPE "info" MESSAGE "START"
Note that you can see the syntax for QUEUE service requests by using its
HELP option. For example:
C:\>STAF local QUEUE HELP
Response
--------
*** QUEUE Service Help ***
QUEUE MESSAGE <Message>
[HANDLE <Handle>] | [NAME <Name>] [PRIORITY <Priority>] [TYPE
<Type>]
GET [PRIORITY <Priority>]... [MACHINE <Endpoint>]... [NAME <Name>]...
[HANDLE <Handle>]... [USER <User>]... [TYPE <Type>]...
[CONTAINS <String>]... [ICONTAINS <String>]...
[FIRST <Number> | ALL]
[WAIT [<Number>[s|m|h|d|w]]]
PEEK [PRIORITY <Priority>]... [MACHINE <Endpoint>]... [NAME <Name>]...
[HANDLE <Handle>]... [USER <User>]... [TYPE <Type>]...
[CONTAINS <String>]... [ICONTAINS <String>]...
[FIRST <Number> | ALL]
[WAIT [<Number>[s|m|h|d|w]]]
DELETE [PRIORITY <Priority>]... [MACHINE <Endpoint>]... [NAME <Name>]...
[HANDLE <Handle>]... [USER <User>]... [TYPE <Type>]...
[CONTAINS <String>]... [ICONTAINS <String>]...
LIST [HANDLE <Handle>]
HELP
--------------------------------------------------------------
Sharon Lucas
IBM Austin, [email protected]
(512) 286-7313 or Tieline 363-7313
From: "Dedhia, Hardik" <[email protected]>
To: <[email protected]>
Date: 06/29/2011 10:57 AM
Subject: [staf-users] Type of MESSAGE in QUEUE
Hello,
I wanted to change the type of message that I am putting in the Queue
using the Queue Service’ Queue request.
Staf local QUEUE QUEUE MESSAGE START NAME MyApplication
This message is delivered as type none by default. How can I change this?
To say Type Info.
Thanks,
Hardik.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
<<image/gif>>
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
