diff options
| author | Robert Godfrey <rgodfrey@apache.org> | 2013-09-30 07:29:51 +0000 |
|---|---|---|
| committer | Robert Godfrey <rgodfrey@apache.org> | 2013-09-30 07:29:51 +0000 |
| commit | c8d0fb167d8fc89fcb27823414454675b60a9dc1 (patch) | |
| tree | 587e486d46940256b1107cee59d3c61ecf9f3f29 /qpid/java/amqp-1-0-common | |
| parent | cce85c2b500a08719e551b756d41b34246535416 (diff) | |
| download | qpid-python-c8d0fb167d8fc89fcb27823414454675b60a9dc1.tar.gz | |
QPID-5177 : Set the default and supported outcomes on sending links in the amqp 1.0 JMS client
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1527467 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/amqp-1-0-common')
3 files changed, 5 insertions, 3 deletions
diff --git a/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/Source.java b/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/Source.java index b634542fd6..e24fb1af7d 100644 --- a/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/Source.java +++ b/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/Source.java @@ -152,7 +152,7 @@ public class Source return _outcomes; } - public void setOutcomes(Symbol[] outcomes) + public void setOutcomes(Symbol... outcomes) { _outcomes = outcomes; } diff --git a/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/AcceptedConstructor.java b/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/AcceptedConstructor.java index 8000853a4d..438378599e 100644 --- a/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/AcceptedConstructor.java +++ b/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/AcceptedConstructor.java @@ -34,9 +34,10 @@ import java.util.List; public class AcceptedConstructor extends DescribedTypeConstructor<Accepted> { + public static final Symbol SYMBOL_CONSTRUCTOR = Symbol.valueOf("amqp:accepted:list"); private static final Object[] DESCRIPTORS = { - Symbol.valueOf("amqp:accepted:list"),UnsignedLong.valueOf(0x0000000000000024L), + SYMBOL_CONSTRUCTOR,UnsignedLong.valueOf(0x0000000000000024L), }; private static final AcceptedConstructor INSTANCE = new AcceptedConstructor(); diff --git a/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/RejectedConstructor.java b/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/RejectedConstructor.java index eb923c535d..d7713bbb52 100644 --- a/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/RejectedConstructor.java +++ b/qpid/java/amqp-1-0-common/src/main/java/org/apache/qpid/amqp_1_0/type/messaging/codec/RejectedConstructor.java @@ -34,9 +34,10 @@ import java.util.List; public class RejectedConstructor extends DescribedTypeConstructor<Rejected> { + public static final Symbol SYMBOL_CONSTRUCTOR = Symbol.valueOf("amqp:rejected:list"); private static final Object[] DESCRIPTORS = { - Symbol.valueOf("amqp:rejected:list"),UnsignedLong.valueOf(0x0000000000000025L), + SYMBOL_CONSTRUCTOR,UnsignedLong.valueOf(0x0000000000000025L), }; private static final RejectedConstructor INSTANCE = new RejectedConstructor(); |
