summaryrefslogtreecommitdiff
path: root/java/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/common/src')
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java b/java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java
index da0909d32f..8c17befa36 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java
@@ -46,6 +46,6 @@ public class AMQMethodBodyFactory implements BodyFactory
// if generated together with amqp.xml is a part of MainRegistry.
// TODO: Connect with version acquired from ProtocolInitiation class.
return MainRegistry.get((short)in.getUnsignedShort(), (short)in.getUnsignedShort(),
- (byte)8, (byte)0);
+ (byte)0, (byte)9);
}
}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java b/java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java
index cfcc5db857..e81adc791d 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java
@@ -40,10 +40,10 @@ public class ContentHeaderPropertiesFactory
throws AMQFrameDecodingException, AMQProtocolVersionException
{
ContentHeaderProperties properties;
- // AMQP version change: "Hardwired" version to major=8, minor=0
+ // AMQP version change: "Hardwired" version to major=0, minor=9
// TODO: Change so that the actual version is obtained from
// the ProtocolInitiation object for this session.
- if (classId == BasicConsumeBody.getClazz((byte)8, (byte)0))
+ if (classId == BasicConsumeBody.getClazz((byte)0, (byte)9))
{
properties = new BasicContentHeaderProperties();
}