*/
public void setPriority(MessagePriority p) {
if (p == null) {
throw new IllegalArgumentException("p cannot be null");
}
MessagePriority old = getPriority();
setProperty(PRIORITY, p.getJmsSpecValue());
if (!p.equals(old)) {
firePropertyChange(PRIORITY, old, p);
}
}