Look at containerizing a Spring Data Cassandra Application. More specifically, how to put a Spring application that connects to a Cassandra database into containers.
Want to learn more about messaging with RabbitMQ? Check out this tutorial on how to create a message producer with Spring Boot and the RabbitMQ in PCF.