129130131132133134135136137138
try { bytesMessage.reset(); final byte[] bytes = MessageUtils.asBytes(bytesMessage); return createComponent(new QuickFIXMessage(cache, bytes)); } finally { bytesMessage.reset(); } }
142143144145146147148
} protected JComponent handleTextMessage(final TextMessage textMessage) throws JMSException { String text = textMessage.getText(); return createComponent(new QuickFIXMessage(cache, text.getBytes())); }