
|
If you were logged in you would be able to see more operations.
|
|
|
HermesJMS
Created: 10/Jan/07 03:06 AM
Updated: 21/Sep/11 04:01 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
1.12
|
| Fix Version/s: |
1.12
|
|
|
1) select a jms topic (jms => sessions => session => topic)
2) Messages =>send ... => send TextMessage
3) select textfile => send
Leads to the following error:
JMSException: Unsupported priority '-1': priority must be from 0-10
Seems to be v1.12 related and not a side affect of JRE 6.
|
|
Description
|
1) select a jms topic (jms => sessions => session => topic)
2) Messages =>send ... => send TextMessage
3) select textfile => send
Leads to the following error:
JMSException: Unsupported priority '-1': priority must be from 0-10
Seems to be v1.12 related and not a side affect of JRE 6. |
Show » |
|
|
I've just tested with ActiveMQ and EMS and they both work - ActiveMQ has a default JMSPriority of 0 and EMS defaults to 4.
Hermes does not set the priority when sending text messages from files as can be seen in the invoke() method here:
http://hermesjms.cvs.sourceforge.net/hermesjms/Hermes4/src/java/hermes/browser/tasks/SendMessageTask.java?view=markup
which calls Hermes.createTextMessage() which is implemented here (line 294):
http://hermesjms.cvs.sourceforge.net/hermesjms/Hermes4/src/java/hermes/impl/DefaultHermesImpl.java?view=markup
btw, I've just updated the SNAPSHOT to include http://hermesjms.com/jira/browse/HJMS-12 which may help you