mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-16 20:55:03 +01:00
queue declare
This commit is contained in:
parent
606438f301
commit
8532d454c3
13 changed files with 255 additions and 71 deletions
|
|
@ -353,7 +353,7 @@ impl Connection {
|
|||
} = method
|
||||
{
|
||||
let message = RawMessage {
|
||||
id: Uuid::from_bytes(rand::random()),
|
||||
id: amqp_core::gen_uuid(),
|
||||
properties: header.property_fields,
|
||||
routing: RoutingInformation {
|
||||
exchange,
|
||||
|
|
@ -380,7 +380,7 @@ impl Connection {
|
|||
}
|
||||
|
||||
async fn channel_open(&mut self, channel_id: ChannelId) -> Result<()> {
|
||||
let id = Uuid::from_bytes(rand::random());
|
||||
let id = amqp_core::gen_uuid();
|
||||
let channel_handle = amqp_core::Channel::new_handle(
|
||||
id,
|
||||
channel_id.num(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue