@Test public void testNewMessageToSendDoesNotContainMessageTypeAnnotation() throws Exception { AmqpJmsObjectMessageFacade amqpObjectMessageFacade = createNewObjectMessageFacade(false); MessageAnnotations annotations = amqpObjectMessageFacade.getMessageAnnotations(); assertNull("MessageAnnotations section was present", annotations); assertEquals(JMS_OBJECT_MESSAGE, amqpObjectMessageFacade.getJmsMsgType()); }
@Override public byte getJmsMsgType() { return JMS_OBJECT_MESSAGE; }
AmqpJmsObjectMessageFacade extends AmqpJmsMessageFacade implements JmsObjectMessageFacade { @Override public byte getJmsMsgType() { return JMS_OBJECT_MESSAGE; } }
AmqpJmsObjectMessageFacade extends AmqpJmsMessageFacade implements JmsObjectMessageFacade { @Override public byte getJmsMsgType() { return JMS_OBJECT_MESSAGE; }  }
AmqpJmsObjectMessageFacade extends AmqpJmsMessageFacade implements JmsObjectMessageFacade { @Override public byte getJmsMsgType() { return JMS_OBJECT_MESSAGE; }  @Override void initialize(AmqpConnection connection); @Override void initialize(AmqpConsumer consumer); @Override byte getJmsMsgType(); boolean isAmqpTypedEncoding(); @Override AmqpJmsObjectMessageFacade copy(); @Override Serializable getObject(); @Override void setObject(Serializable value); @Override void clearBody(); @Override boolean hasBody(); @Override void onSend(long producerTtl); @Override JmsObjectMessage asJmsMessage(); }
AmqpJmsObjectMessageFacade extends AmqpJmsMessageFacade implements JmsObjectMessageFacade { @Override public byte getJmsMsgType() { return JMS_OBJECT_MESSAGE; }  @Override void initialize(AmqpConnection connection); @Override void initialize(AmqpConsumer consumer); @Override byte getJmsMsgType(); boolean isAmqpTypedEncoding(); @Override AmqpJmsObjectMessageFacade copy(); @Override Serializable getObject(); @Override void setObject(Serializable value); @Override void clearBody(); @Override boolean hasBody(); @Override void onSend(long producerTtl); @Override JmsObjectMessage asJmsMessage();  }