try {
deliveryMode = message.getJMSDeliveryMode();
} catch (JMSException e) {
}
if (deliveryMode == DeliveryMode.NON_PERSISTENT) {
<BUG>deliveryModeStr = "non_persistent";
</BUG>
} else if (deliveryMode == DeliveryMode.PERSISTENT) {
<BUG>deliveryModeStr = "persistent";
</BUG>
}

try {
deliveryMode = message.getJMSDeliveryMode();
} catch (JMSException e) {
}
if (deliveryMode == DeliveryMode.NON_PERSISTENT) {
deliveryModeStr = "non_persistent"; //$NON-NLS-1$
} else if (deliveryMode == DeliveryMode.PERSISTENT) {
deliveryModeStr = "persistent"; //$NON-NLS-1$
}
