Make JMSDeliveryMode an enumerated string type, and detect at run-time.