Table 6-1 lists global variables set by msgsend, msgrecv, msgpublish, and msgconsume.
Variable name |
Description |
Functions that set the variable |
---|---|---|
@@msgheader |
Contains message header information from the last message received. This variable’s format resembles XML. For details about this format, see “<msgheader> and <msgproperties> documents”. |
msgrecv, msgconsume |
@@msgproperties |
Contains message properties information from the message last received. |
msgrecv, msgconsume |
@@msgtimestamp |
Contains the timestamp included in the message last sent. |
msgsend, msgpublish |
@@msgid |
Contains the ID of the last message sent or received. |
msgsend, msgpublish, msgrecv, msgconsume |
@@msgstatus |
Contains either the integer error code of the service provider exception, or zero, if the last operation did not raise an exception. |
msgsend, msgpublish, msgrecv, msgconsume |
@@msgstatusinfo |
Contains either the error message of the service provider exception, or zero, if the last msgsend, msgpublish, msgrecv, or msgconsume raised an exception, or an empty string. |
msgsend, msgpublish, msgrecv, msgconsume |
@@msgreplytoinfo |
Contains the name (provider_url, queue_name, topic_name, user_name) of the topic or queue name used to receive the next message. Can be a permanent or temporary destination. |
msgsend, msgpublish |
@@msgschema |
Contains the schema of the message or null. Contains the value of the Adaptive Server property ase_message_body_schema. For more information, see the description of the schema option in msgsend and msgpublish. |
msgsend, msgpublish |
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |