diff options
-rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java b/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java index 899d63af4e..adc8b277a4 100644 --- a/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java +++ b/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java @@ -61,9 +61,6 @@ import java.util.Map; import java.util.Timer; import java.util.TimerTask; -import org.apache.qpid.client.message.AMQPEncodedMapMessage; -import org.apache.qpid.client.message.JMSMapMessage; -import org.apache.qpid.client.message.MessageFactoryRegistry; import org.apache.qpid.client.message.AMQMessageDelegateFactory; /** @@ -939,17 +936,4 @@ public class AMQSession_0_10 extends AMQSession<BasicMessageConsumer_0_10, Basic return AMQMessageDelegateFactory.FACTORY_0_10; } - @ Override - public MapMessage createMapMessage() throws JMSException - { - checkNotClosed(); - if (useAMQPEncodedMapMessage) - { - return new AMQPEncodedMapMessage(AMQMessageDelegateFactory.FACTORY_0_10); - } - else - { - return new JMSMapMessage(AMQMessageDelegateFactory.FACTORY_0_10); - } - } } |