setMessageHandlerProperties

Sets the attributes on a message handler.

Syntax

setMessageHandlerProperties handlerName, attributes
Table 1. setMessageHandlerProperties syntax
Parameter Data type Description
handlerName string Logical name of the message handler.
attributes hash string Properties of the message handler:
  • type: undefined, Event logger, Authorization controller, User locator, and other
  • enabled: true or false
  • order: 0 being first
  • mandatory: true or false

Purpose

The setMessageHandlerProperties command sets the properties for the named message handler.

Sample

set ons [$AdminControl completeObjectName type=RTCAdminMbean,*]
set mhp { enabled=true, type=eventLogger, customProperties=[ {name=A, value=B} ] }
$AdminControl invoke $ons setMessageHandlerProperties evtlogger {$mhp}