java.lang.Object
com.azure.messaging.servicebus.administration.models.RuleAction
com.azure.messaging.servicebus.administration.models.SqlRuleAction

public class SqlRuleAction extends RuleAction
Represents set of actions written in SQL language-based syntax that is performed against a ServiceBusMessage.
See Also:
  • Constructor Details

    • SqlRuleAction

      public SqlRuleAction(String sqlExpression)
      Creates a new instance with the given SQL expression.
      Parameters:
      sqlExpression - SQL expression for the action.
      Throws:
      NullPointerException - if sqlExpression is null.
      IllegalArgumentException - if sqlExpression is an empty string.
  • Method Details

    • getParameters

      public Map<String,Object> getParameters()
      Gets the properties for this action.
      Returns:
      the properties for this action.
    • getSqlExpression

      public String getSqlExpression()
      Gets the SQL expression.
      Returns:
      the SQL expression.