if ((id == null || id.length() == 0) || !producer.getDisableMessageID() && !reuseMessageId) {
message.setJMSMessageID(producerId + sequenceNumber);
}
//transform to our own message format here
ActiveMQMessage msg = ActiveMQMessageTransformation.transformMessage(message);
msg.prepareMessageBody();
msg.setProducerID(producerId);
msg.setSequenceNumber(sequenceNumber);
msg.setTransactionId(currentTransactionId);
msg.setXaTransacted(isXaTransacted());
msg.setJMSClientID(this.connection.clientID);