activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Justin (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-3006) STOMP connector assigns wrong default priority to incoming messages
Date Thu, 28 Oct 2010 18:12:00 GMT
STOMP connector assigns wrong default priority to incoming messages
-------------------------------------------------------------------

                 Key: AMQ-3006
                 URL: https://issues.apache.org/activemq/browse/AMQ-3006
             Project: ActiveMQ
          Issue Type: Bug
          Components: Transport
    Affects Versions: 5.4.1
         Environment: Windows Vista
            Reporter: Michael Justin
            Priority: Minor


If a client sends a Stomp frame without a priority header, the broker does not set the message
priority to the default value (4) which is specified in the JMS spec (see http://download.oracle.com/javaee/1.4/api/javax/jms/Message.html:
DEFAULT_PRIORITY The message producer's default priority is 4.) 

As effect, the message will have priority 0 (lowest).

Adding a priority header for all messages by the Stomp client, even for default priority,
would also cause larger messages to be sent over the wire.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message