In the following example, a message is received and the value of integer property myintproperty is output to the database
server messages window:
begin
declare @msgid varchar(128);
declare @prop integer;
set @msgid = ml_qa_getmessage( 'myaddress' );
set @prop = ml_qa_getintproperty( @msgid, 'myintproperty' );
message 'message property myintproperty is set to ' || @prop;
commit;
end