When a query is issued by one of the search form handlers and a response is received, a JMS event (message) is fired. These events are used to create logs for reporting purposes. You can also add configuration to use them for other purposes, such as triggering scenarios.
The SearchContext
component has two properties that control the firing of Search messages:
Property | Description |
---|---|
| A Boolean which specifies whether firing of Search events is enabled. If |
| A component of class |
The SearchMessageService
component is responsible for constructing and sending Search messages. It has a number of key properties that configure the firing of JMS messages:
Property | Description |
---|---|
| An array of |
| The |
| A component of class |
| The Patch Bay message source, of class |
Each query type (except <typeahead>
) has a corresponding search message class. The message classes all implement the atg.search.events.SearchMessage
interface, which has several properties that are common to all query types. Each subclass has additional properties that are specific to the corresponding query type.
For information about the properties of the search message classes, see the ATG API Reference.