Kanzi  3.9.2
Java API
MessageTriggerMetadata Interface Reference

Metadata definitions for MessageTrigger. More...

Inheritance diagram for MessageTriggerMetadata:
[legend]

Public Attributes

DynamicPropertyType< String > MessageSourceProperty
 A filter that makes possible to intercept events only for a certain source node. More...
 
DynamicPropertyType< String > MessageTypeProperty
 The name of the message type. More...
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.MessageTrigger")
 Metaclass for MessageTrigger.
 
DynamicPropertyType< Integer > RoutingModeProperty
 The routing phase where the message is going to be intercepted. More...
 
DynamicPropertyType< Boolean > SetHandledProperty
 When enabled the trigger intercepts the message, marks it as handled, and prevents further message delivery. More...
 

Detailed Description

Metadata definitions for MessageTrigger.

Member Data Documentation

◆ MessageSourceProperty

DynamicPropertyType<String> MessageSourceProperty
Initial value:
=
new DynamicPropertyType<>("MessageTrigger.MessageSource", String.class)

A filter that makes possible to intercept events only for a certain source node.

Empty string intercepts messages from all sources.

◆ MessageTypeProperty

DynamicPropertyType<String> MessageTypeProperty
Initial value:
=
new DynamicPropertyType<>("MessageType", String.class)

The name of the message type.

◆ RoutingModeProperty

DynamicPropertyType<Integer> RoutingModeProperty
Initial value:
=
new DynamicPropertyType<>("MessageTrigger.RoutingMode", Integer.class)

The routing phase where the message is going to be intercepted.

◆ SetHandledProperty

DynamicPropertyType<Boolean> SetHandledProperty
Initial value:
=
new DynamicPropertyType<>("MessageTrigger.SetHandled", Boolean.class)

When enabled the trigger intercepts the message, marks it as handled, and prevents further message delivery.