Class SqlRuleAction
java.lang.Object
com.azure.messaging.servicebus.administration.models.RuleAction
com.azure.messaging.servicebus.administration.models.SqlRuleAction
Represents set of actions written in SQL language-based syntax that is performed against a
ServiceBusMessage
.-
Constructor Summary
ConstructorDescriptionSqlRuleAction
(String sqlExpression) Creates a new instance with the given SQL expression. -
Method Summary
Modifier and TypeMethodDescriptionGets the properties for this action.Gets the SQL expression.
-
Constructor Details
-
SqlRuleAction
Creates a new instance with the given SQL expression.- Parameters:
sqlExpression
- SQL expression for the action.- Throws:
NullPointerException
- ifsqlExpression
is null.IllegalArgumentException
- ifsqlExpression
is an empty string.
-
-
Method Details
-
getParameters
Gets the properties for this action.- Returns:
- the properties for this action.
-
getSqlExpression
Gets the SQL expression.- Returns:
- the SQL expression.
-