Working with message properties

When a message is read, the message header and user properties can be processed by Transact-SQL application logic, using built-in SQL functions. These functions return:

These built-in functions allow application logic to make processing decisions during runtime, based on the value of the message properties: