Class MessageEvaluationContext

java.lang.Object
org.apache.activemq.filter.MessageEvaluationContext
Direct Known Subclasses:
NonCachedMessageEvaluationContext

public class MessageEvaluationContext extends Object
MessageEvaluationContext is used to cache selection results. A message usually has multiple selectors applied against it. Some selector have a high cost of evaluating against the message. Those selectors may whish to cache evaluation results associated with the message in the MessageEvaluationContext.
  • Field Details

    • messageReference

      protected MessageReference messageReference
    • loaded

      protected boolean loaded
    • dropped

      protected boolean dropped
    • message

      protected Message message
    • destination

      protected ActiveMQDestination destination
  • Constructor Details

    • MessageEvaluationContext

      public MessageEvaluationContext()
  • Method Details