Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 959 Bytes

jms-selector-guide.md

File metadata and controls

24 lines (18 loc) · 959 Bytes

JMS Selectors

This broker is written based on AMQP broker semantics. In addition, to AMQP broker semantics following JMS selector functionalities are supported as well.

  1. x-filter-jms-selector header is used to define the selector expression. When binding a queue to an exchange above additional header can be provided with a valid JMS selector expression to enable message filtering.

  2. Only the topic exchange supports JMS message selectors.

  3. Subset of JMS selector grammar is supported. At the moment JMS equality operator with string, integer and float values are supported.

    Eg:- Following selector expression will match the messages with CorrelationId header value a234df34    

    CorrelationId = 'a234df34'
    

    Following selector expression will match the messages with eventName custom property's value logging

    eventName = 'logging'