object = ((ObjectMessage)message).getObject();
} else if (message instanceof BytesMessage) {
BytesMessage byteMessage = (BytesMessage)message;
byte[] bytes = new byte[(int)byteMessage.getBodyLength()];
byteMessage.readBytes(bytes);
Serializer serializer = this.rcm.getSerializer();
if (serializer == null) {
serializer = JavaSerializer.instance;
}
object = serializer.deserialize(bytes, (AbstractSession)this.rcm.getCommandProcessor());
} else {
if (this.rcm.shouldLogWarningMessage() && (topic == null)) {
try {
topic = ((Topic)message.getJMSDestination()).getTopicName();
} catch (JMSException ex) {