@Override public boolean matches(MessageReference node, MessageEvaluationContext context) throws IOException { ConsumerId targetConsumerId = node.getTargetConsumerId(); if (targetConsumerId != null) { if (!targetConsumerId.equals(info.getConsumerId())) { return false; } } try { return (selectorExpression == null || selectorExpression.matches(context)) && this.context.isAllowedToConsume(node); } catch (JMSException e) { LOG.info("Selector failed to evaluate: {}", e.getMessage(), e); return false; } }
@Override public boolean matches(MessageReference node, MessageEvaluationContext context) throws IOException { ConsumerId targetConsumerId = node.getTargetConsumerId(); if (targetConsumerId != null) { if (!targetConsumerId.equals(info.getConsumerId())) { return false; } } try { return (selectorExpression == null || selectorExpression.matches(context)) && this.context.isAllowedToConsume(node); } catch (JMSException e) { LOG.info("Selector failed to evaluate: {}", e.getMessage(), e); return false; } }
@Override public boolean matches(MessageReference node, MessageEvaluationContext context) throws IOException { ConsumerId targetConsumerId = node.getTargetConsumerId(); if (targetConsumerId != null) { if (!targetConsumerId.equals(info.getConsumerId())) { return false; } } try { return (selectorExpression == null || selectorExpression.matches(context)) && this.context.isAllowedToConsume(node); } catch (JMSException e) { LOG.info("Selector failed to evaluate: {}", e.getMessage(), e); return false; } }
public boolean matches(MessageReference node, MessageEvaluationContext context) throws IOException { ConsumerId targetConsumerId = node.getTargetConsumerId(); if (targetConsumerId != null) { if (!targetConsumerId.equals(info.getConsumerId())) { return false; } } try { return (selectorExpression == null || selectorExpression.matches(context)) && this.context.isAllowedToConsume(node); } catch (JMSException e) { LOG.info("Selector failed to evaluate: " + e.getMessage(), e); return false; } }
@Override public boolean matches(MessageReference node, MessageEvaluationContext context) throws IOException { ConsumerId targetConsumerId = node.getTargetConsumerId(); if (targetConsumerId != null) { if (!targetConsumerId.equals(info.getConsumerId())) { return false; } } try { return (selectorExpression == null || selectorExpression.matches(context)) && this.context.isAllowedToConsume(node); } catch (JMSException e) { LOG.info("Selector failed to evaluate: {}", e.getMessage(), e); return false; } }