Tesztüzenet

Microsoft.MSMQ.6.3.MonitorType.TestMessage (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.MSMQ.6.3.DataSource.Queue.SendTestMessage Default
FilterFail ConditionDetection System.ExpressionFilter Default
FilterSuccess ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Intervallum hossza (s)
TargetQueuestring$Config/TargetQueue$Célvárólista
AdminQueuestring$Config/AdminQueue$Felügyeleti várólista
CreateQueuesbool$Config/CreateQueues$Várólisták létrehozása
AppSpecificint$Config/AppSpecific$Alkalmazásspecifikus
MessageBodystring$Config/MessageBody$Üzenet törzse
RemoveMessagebool$Config/RemoveMessage$Üzenet eltávolítása
CleanupQueuebool$Config/CleanupQueue$Várólista karbantartása
CleanupAdminQueuebool$Config/CleanupAdminQueue$Felügyeleti várólista karbantartása
LogDetailbool$Config/LogDetail$Napló részletei
TimeoutSecondsint$Config/TimeoutSeconds$Időtúllépés hossza (s)

Source Code:

<UnitMonitorType ID="Microsoft.MSMQ.6.3.MonitorType.TestMessage" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="MessageReceived" NoDetection="false"/>
<MonitorTypeState ID="MessageFailed" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TargetQueue" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="AdminQueue" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="CreateQueues" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="AppSpecific" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="MaxWaitTime" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="MessageBody" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="RemoveMessage" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="CleanupQueue" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="CleanupAdminQueue" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="LogDetail" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TargetQueue" Selector="$Config/TargetQueue$" ParameterType="string"/>
<OverrideableParameter ID="AdminQueue" Selector="$Config/AdminQueue$" ParameterType="string"/>
<OverrideableParameter ID="CreateQueues" Selector="$Config/CreateQueues$" ParameterType="bool"/>
<OverrideableParameter ID="AppSpecific" Selector="$Config/AppSpecific$" ParameterType="int"/>
<OverrideableParameter ID="MessageBody" Selector="$Config/MessageBody$" ParameterType="string"/>
<OverrideableParameter ID="RemoveMessage" Selector="$Config/RemoveMessage$" ParameterType="bool"/>
<OverrideableParameter ID="CleanupQueue" Selector="$Config/CleanupQueue$" ParameterType="bool"/>
<OverrideableParameter ID="CleanupAdminQueue" Selector="$Config/CleanupAdminQueue$" ParameterType="bool"/>
<OverrideableParameter ID="LogDetail" Selector="$Config/LogDetail$" ParameterType="bool"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.MSMQ.6.3.DataSource.Queue.SendTestMessage">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<ComputerName>$Config/ComputerName$</ComputerName>
<TargetQueue>$Config/TargetQueue$</TargetQueue>
<AdminQueue>$Config/AdminQueue$</AdminQueue>
<CreateQueues>$Config/CreateQueues$</CreateQueues>
<AppSpecific>$Config/AppSpecific$</AppSpecific>
<MaxWaitTime>$Config/MaxWaitTime$</MaxWaitTime>
<MessageBody>T$Config/MessageBody$</MessageBody>
<RemoveMessage>$Config/RemoveMessage$</RemoveMessage>
<CleanupQueue>$Config/CleanupQueue$</CleanupQueue>
<CleanupAdminQueue>$Config/CleanupAdminQueue$</CleanupAdminQueue>
<LogDetail>$Config/LogDetail$</LogDetail>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="FilterSuccess" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Property[@Name='ScriptCompleted']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Property[@Name='Result']</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Integer">4</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterFail" TypeID="System!System.ExpressionFilter">
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Property[@Name='ScriptCompleted']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">false</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Property[@Name='Result']</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Integer">4</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="MessageReceived">
<Node ID="FilterSuccess">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="MessageFailed">
<Node ID="FilterFail">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>