pub struct Queue;
impl Queue {
pub const REPLY_TO_SAGA: &'static str = "reply_to_saga";
pub const COMMENCE_SAGA: &'static str = "commence_saga";
}
pub struct Exchange;
impl Exchange {
pub const REQUEUE: &'static str = "requeue_exchange";
pub const COMMANDS: &'static str = "commands_exchange";
pub const MATCHING: &'static str = "matching_exchange";
pub const MATCHING_REQUEUE: &'static str = "matching_requeue_exchange";
}
pub type ExchangeType = &'static str;
pub struct QueueConsumerProps {
pub queue_name: String,
pub exchange: ExchangeType,
}