Kanzi  3.9.7
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< MessageRoutingRoutingModeProperty
 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...
 
- 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. More...
 

Detailed Description

Metadata definitions for MessageTrigger.

Member Data Documentation

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.

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

The name of the message type.

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

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

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.