/** * Use SLQ92 to select message. * * @param sql if null or empty, will be treated as select all message. */ public static MessageSelector bySql(String sql) { return new MessageSelector(ExpressionType.SQL92, sql); }
/** * Use tag to select message. * * @param tag if null or empty or "*", will be treated as select all message. */ public static MessageSelector byTag(String tag) { return new MessageSelector(ExpressionType.TAG, tag); }
/** * Use SLQ92 to select message. * * @param sql if null or empty, will be treated as select all message. */ public static MessageSelector bySql(String sql) { return new MessageSelector(ExpressionType.SQL92, sql); }
/** * Use tag to select message. * * @param tag if null or empty or "*", will be treated as select all message. */ public static MessageSelector byTag(String tag) { return new MessageSelector(ExpressionType.TAG, tag); }
/** * Use SLQ92 to select message. * * @param sql if null or empty, will be treated as select all message. */ public static MessageSelector bySql(String sql) { return new MessageSelector(ExpressionType.SQL92, sql); }
/** * Use tag to select message. * * @param tag if null or empty or "*", will be treated as select all message. */ public static MessageSelector byTag(String tag) { return new MessageSelector(ExpressionType.TAG, tag); }