Rasa_core with rabbitmq

He i want to know if can publish and basic_consume messages in rasa_core using rabbitmq. Do you have any example for me?