Gilbert
Gilbert

Reputation: 3722

Use Mule message properties in MMC alert

Is it possible to use mule message properties (like payload and flowvars) in a Mule Management Console notification body or subject?

Upvotes: 0

Views: 216

Answers (2)

Piyush Sharma
Piyush Sharma

Reputation: 1

Yes you can use it. Mule provide various properties common to all alerts from class com.mulesoft.console.alert.RaisedAlert that can be used in defining the certain values such as Flow identifier Flow name You may refer to mule documentation for it https://docs.mulesoft.com/mule-management-console/v/3.7/defining-slas-and-alerts#DefiningSLAsandAlerts-PropertiesUsedinAlertExpressions

Upvotes: 0

mquintas
mquintas

Reputation: 211

I think it's not possible. You can only use the properties exposed by mule, as explained here:

http://www.mulesoft.org/documentation/display/current/Defining+SLAs+and+Alerts#DefiningSLAsandAlerts-PropertiesUsedinAlertExpressions

Maybe using a Management Script, but there is no much info about it (the links to the javadoc are broken)

http://www.mulesoft.org/documentation/display/current/Scripting+Examples#ScriptingExamples-AlertingExamples

Upvotes: 1

Related Questions