priority

abstract val priority: Int

The priority of this handler service. If multiple handler services are defined for the same topic, each AASB message belonging to the topic is forwarded to the handler with the highest priority. If the handler's onMessageReceived call returns true, the message is not forwarded to any other handler. Otherwise the message is forwarded to the handler with the second-highest priority, and so on. Setting this value to DEFAULT_HANDLER_PRIORITY will cause this handler to receive an AASB message before it is forwarded to a stock handler, which typically has DEFAULT_STOCK_HANDLER_PRIORITY priority.