Implement RabbitMQ publishing.