.routingKey(publisherConfiguration.routingKey);
if (publisherConfiguration.persistent) {
message.persistent();
}
if (event instanceof ContainsData) {
message.body(((ContainsData) event).getData());
} else if (event instanceof ContainsContent) {
message.body(((ContainsContent) event).getContent());
} else if (event instanceof ContainsId) {
message.body(((ContainsId) event).getId());
}