316317318319320321322323324325326
} public int getJMSPriority() throws JMSException { UnsignedByte priority = getPriority(); return priority == null ? DEFAULT_PRIORITY : priority.intValue(); } public void setJMSPriority(int i) throws InvalidJMSPriorityException { if(i >= 0 && i <= 255)
306307308309310311312313314315316
315316317318319320321322323324325
325326327328329330331332333334335
349350351352353354355356357358359
260261262263264265266267268269270
} public boolean getJMSRedelivered() { UnsignedInteger failures = getDeliveryFailures(); return failures != null && (failures.intValue() != 0); } public void setJMSRedelivered(boolean redelivered) { UnsignedInteger failures = getDeliveryFailures();
241242243244245246247248249250251
259260261262263264265266267268269
269270271272273274275276277278279