}
public void testForeignMessageSetDestination() throws Exception
{
// create a Bytes foreign message
SimpleJMSTextMessage txt = new SimpleJMSTextMessage("hello from Brazil!");
txt.setJMSDestination(null);
queueProd.send(txt);
ProxyAssertSupport.assertNotNull(txt.getJMSDestination());
TextMessage tm = (TextMessage)queueCons.receive();
ProxyAssertSupport.assertNotNull(tm);
ProxyAssertSupport.assertEquals("hello from Brazil!", txt.getText());
}