@Override
	public Object evaluate( Message message ) throws JMSException
    {
        // Standard headers
        if (name.equals("JMSCorrelationID"))
            return message.getJMSCorrelationID();
        if (name.equals("JMSMessageID"))
            return message.getJMSMessageID();
        if (name.equals("JMSType"))
            return message.getJMSType();
        if (name.equals("JMSDeliveryMode"))
            return message.getJMSDeliveryMode() == DeliveryMode.PERSISTENT ? "PERSISTENT" : "NON_PERSISTENT";
        if (name.equals("JMSPriority"))
            return Integer.valueOf(message.getJMSPriority());
        if (name.equals("JMSTimestamp"))
            return Long.valueOf(message.getJMSTimestamp());
                
        return message.getObjectProperty(name);
    }
@ Override public Object evaluate ( Message message ) throws JMSException { if ( name . equals ( "JMSCorrelationID" ) ) return message . getJMSCorrelationID ( ) ; if ( name . equals ( "JMSMessageID" ) ) return message . getJMSMessageID ( ) ; if ( name . equals ( "JMSType" ) ) return message . getJMSType ( ) ; if ( name . equals ( "JMSDeliveryMode" ) ) return message . getJMSDeliveryMode ( ) == DeliveryMode . PERSISTENT ? "PERSISTENT" : "NON_PERSISTENT" ; if ( name . equals ( "JMSPriority" ) ) return Integer . valueOf ( message . getJMSPriority ( ) ) ; if ( name . equals ( "JMSTimestamp" ) ) return Long . valueOf ( message . getJMSTimestamp ( ) ) ; return message . getObjectProperty ( name ) ; }
/*
(non-Javadoc)
@see net.timewalker.ffmq4.common.message.selector.expression.SelectorNode#evaluate(javax.jms.Message)