activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [3/3] activemq-artemis git commit: Rename Stomp.Headers.Message.PRORITY to .PRIORITY
Date Wed, 27 Jan 2016 18:21:11 GMT
Rename Stomp.Headers.Message.PRORITY to .PRIORITY


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/bdea213e
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/bdea213e
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/bdea213e

Branch: refs/heads/master
Commit: bdea213e887528c2010d85c5e2f80d0f72331ad6
Parents: f90a867
Author: Ville Skyttä <ville.skytta@iki.fi>
Authored: Wed Jan 27 19:07:24 2016 +0200
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Jan 27 13:20:55 2016 -0500

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/core/protocol/stomp/Stomp.java     | 2 +-
 .../apache/activemq/artemis/core/protocol/stomp/StompUtils.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/bdea213e/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/Stomp.java
----------------------------------------------------------------------
diff --git a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/Stomp.java
b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/Stomp.java
index d1cf45c..59a6916 100644
--- a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/Stomp.java
+++ b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/Stomp.java
@@ -112,7 +112,7 @@ public interface Stomp {
 
          String REPLY_TO = "reply-to";
 
-         String PRORITY = "priority";
+         String PRIORITY = "priority";
 
          String REDELIVERED = "redelivered";
 

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/bdea213e/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompUtils.java
----------------------------------------------------------------------
diff --git a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompUtils.java
b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompUtils.java
index 00acb44..2acd74f 100644
--- a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompUtils.java
+++ b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompUtils.java
@@ -91,7 +91,7 @@ public class StompUtils {
       }
       command.addHeader(Stomp.Headers.Message.EXPIRATION_TIME, "" + message.getExpiration());
       command.addHeader(Stomp.Headers.Message.REDELIVERED, String.valueOf(deliveryCount >
1));
-      command.addHeader(Stomp.Headers.Message.PRORITY, "" + message.getPriority());
+      command.addHeader(Stomp.Headers.Message.PRIORITY, "" + message.getPriority());
       if (message.getStringProperty(ClientMessageImpl.REPLYTO_HEADER_NAME) != null) {
          command.addHeader(Stomp.Headers.Message.REPLY_TO, message.getStringProperty(ClientMessageImpl.REPLYTO_HEADER_NAME));
       }


Mime
View raw message