Kanzi 3.9.10
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.
 
DynamicPropertyType< String > MessageTypeProperty
 The name of the message type.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.MessageTrigger")
 Metaclass for MessageTrigger.
 
DynamicPropertyType< MessageRoutingRoutingModeProperty
 The routing phase where the message is going to be intercepted.
 
DynamicPropertyType< BooleanSetHandledProperty
 When enabled the trigger intercepts the message, marks it as handled, and prevents further message delivery.
 
- Public Attributes inherited from TriggerMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.Trigger")
 Metaclass for Trigger.
 
- Public Attributes inherited from NodeComponentMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.NodeComponent")
 Metaclass for NodeComponent.
 
DynamicPropertyType< String > NameProperty
 Name.
 

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<MessageRouting> RoutingModeProperty
Initial value:
=
new DynamicPropertyType<>("MessageTrigger.RoutingMode", MessageRouting.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.