Packageorg.spicefactory.parsley.flex.tag.builder
Classpublic class MessageSettingsTag
InheritanceMessageSettingsTag Inheritance Object
Implements BootstrapConfigProcessor

MXML tag for providing the settings to apply for messaging.

The tag can be used as a child tag of the ContextBuilder tag:

                  <parsley:ContextBuilder>
     <parsley:MessageSettings undhandledErrors="{ErrorPolicy.RETHROW}"/>
     <parsley:FlexConfig type="{BookStoreConfig}"/>
     <parsley:XmlConfig file="logging.xml"/>
 </parsley:ContextBuilder>
               



Public Properties
 PropertyDefined By
  defaultReceiverScope : String
MessageSettingsTag
  errorHandler : Function
A handler that gets invoked for each Error thrown in any message receiver in any Context in any scope.
MessageSettingsTag
  unhandledErrors : ErrorPolicy
The policy to apply for unhandled errors.
MessageSettingsTag
Property Detail
defaultReceiverScopeproperty
public var defaultReceiverScope:String

errorHandlerproperty 
public var errorHandler:Function

A handler that gets invoked for each Error thrown in any message receiver in any Context in any scope. The signature of the function must be: function (processor:MessageProcessor, error:Error) : void

unhandledErrorsproperty 
public var unhandledErrors:ErrorPolicy

The policy to apply for unhandled errors. An unhandled error is an error thrown by a message handler where no matching error handler was registered for. The default is ErrorPolicy.IGNORE.