clipped from: livedocs.adobe.com   

Using selectors


A Producer component can include extra information in a message in the form of message headers. A Consumer component then uses the selector property to filter messages based on message header values.


Use the AsyncMessage.headers property of the message to specify the message headers. The headers are contained in an associative Array where the key is the header name and the value is either a String or a number.


Note: Do not start message header names with the text "JMS" or "DS". These prefixes are reserved.