diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2009-09-22 02:03:03 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2009-09-22 02:03:03 +0000 |
| commit | 64d8aabd6c94bab62ab31a8e81bb16e3f0bdffa5 (patch) | |
| tree | e405c508e15c2c3620a8849c392f6f55abd8f76e /java/client/src | |
| parent | 82abbe4a984f47ccfd11750c8f15036791c05c15 (diff) | |
| download | qpid-python-64d8aabd6c94bab62ab31a8e81bb16e3f0bdffa5.tar.gz | |
This is a fix for QPID-2114
I have also added a simple check for the default message priority in an existing test in JMSPropertiesTest
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817478 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src')
| -rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java b/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java index 5ff6066ddc..44ce59975a 100644 --- a/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java +++ b/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java @@ -60,7 +60,7 @@ public abstract class BasicMessageProducer extends Closeable implements org.apac /** * Priority of messages created by this producer. */ - private int _messagePriority; + private int _messagePriority = Message.DEFAULT_PRIORITY; /** * Time to live of messages. Specified in milliseconds but AMQ has 1 second resolution. |
