if (info.getSelector() != null) {
rc = new SelectorParser().parse(info.getSelector());
}
if (info.isNoLocal()) {
if (rc == null) {
rc = new NoLocalExpression(info.getConsumerId().getConnectionId());
} else {
rc = LogicExpression.createAND(new NoLocalExpression(info.getConsumerId().getConnectionId()), rc);
}
}
if (info.getAdditionalPredicate() != null) {
if (rc == null) {
rc = info.getAdditionalPredicate();