mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-16 12:45:04 +01:00
queue declare
This commit is contained in:
parent
606438f301
commit
8532d454c3
13 changed files with 255 additions and 71 deletions
17
amqp_messaging/src/methods/consume.rs
Normal file
17
amqp_messaging/src/methods/consume.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
use amqp_core::error::ProtocolError;
|
||||
use amqp_core::methods::{Bit, ConsumerTag, NoAck, NoLocal, NoWait, QueueName, Table};
|
||||
use amqp_core::ChannelHandle;
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub async fn consume(
|
||||
_channel_handle: ChannelHandle,
|
||||
_queue: QueueName,
|
||||
_consumer_tag: ConsumerTag,
|
||||
_no_local: NoLocal,
|
||||
_no_ack: NoAck,
|
||||
_exclusive: Bit,
|
||||
_no_wait: NoWait,
|
||||
_arguments: Table,
|
||||
) -> Result<(), ProtocolError> {
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue