[][src]Function rabbit_borough::publisher::publisher::publish

pub async fn publish<'_, '_>(
    message: String,
    exchange_name: &'_ str,
    routing_key: &'_ str,
    connection: ConnectionProperties
) -> Result<PublisherConfirm, PublishError>

Sets up publisher and sends message