@Test public void testSetObjectOnNewAmqpTypedMessage() throws Exception { String content = "myStringContent"; AmqpJmsObjectMessageFacade amqpObjectMessageFacade = createNewObjectMessageFacade(true); amqpObjectMessageFacade.setObject(content); Section section = amqpObjectMessageFacade.getBody(); assertNotNull(section); assertEquals(AmqpValue.class, section.getClass()); assertEquals("Underlying message body did not contain the expected content", content, ((AmqpValue) section).getValue()); }
@Override public void setObject(Serializable value) throws IOException { delegate.setObject(value); }
AmqpJmsObjectMessageFacade extends AmqpJmsMessageFacade implements JmsObjectMessageFacade { @Override public void setObject(Serializable value) throws IOException { delegate.setObject(value); } }
AmqpJmsObjectMessageFacade extends AmqpJmsMessageFacade implements JmsObjectMessageFacade { @Override public void setObject(Serializable value) throws IOException { delegate.setObject(value); }  }
AmqpJmsObjectMessageFacade extends AmqpJmsMessageFacade implements JmsObjectMessageFacade { @Override public void setObject(Serializable value) throws IOException { delegate.setObject(value); }  @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 void setObject(Serializable value) throws IOException { delegate.setObject(value); }  @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();  }