Affects Version/s: 1.1
Fix Version/s: None
Currently it is specced that some headers can only set by "send or publish" method.
This is very confusing. For example someone not knowing about this might be tempted to set JMSPriority on a message.
This will not trigger any exception, but in the end be completely ignored if send by he regular send method (.send(message)) instead of the overloaded send(message, deliveryMode, priority, timeToLive).
The question is; why are these headers mutable on the javax.jms.Message in the first place?