Sun Java System Calendar Server 6.3 WCAP Developer's Guide

Calendar appid Parameter for ENS X-Tokens

The following WCAP commands accept the appid parameter:

This WCAP command parameter is used to set the value of an X-Token that ENS returns with notifications.

Applications passing this parameter in with the appropriate WCAP command can detect which ENS notifications they originated by checking the value of the X-Token X-NSCP-COMPONENT-SOURCE. Note that this X-Token is not returned by WCAP commands, only ENS notifications.

This parameter is a runtime parameter. That is, nothing is stored in the database.

If appid is present, the Event Notification Service (ENS) returns the value of appid as the value of the X-Token X-NSCP-COMPONENT-SOURCE. If the appid parameter is missing, ENS assigns the standard value to the X-Token (WCAP).

The following table shows the effect of the presence of the appid parameter on the value of the X-Token X-NSCP-COMPONENT-SOURCE. For more information about ENS, see theSun Java Communications Suite 5 Event Notification Service Guide.

Table 2–1 Presence of appid and Value of X-Token X-NSCP-COMPONENT-SOURCE

appid Present?  

Value of X-Token X-NSCP-COMPONENT-SOURCE

no 

WCAP

yes 

appid


Note –

If you are using Sun Java System Message Queue instead of the Event Notification Service (ENS), refer to that product's documentation at:

http://docs.sun.com/coll/1307.2