-
Notifications
You must be signed in to change notification settings - Fork 328
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello,
the expiration property is not respected when using the rabbit test broker and setting the "expiration" flag in the testbroker.publish method.
I think its simply missing here.
faststream/faststream/rabbit/testing.py
Lines 173 to 185 in 8148f2d
| header=ContentHeader( | |
| properties=spec.Basic.Properties( | |
| content_type=msg.content_type, | |
| headers=msg.headers, | |
| reply_to=msg.reply_to, | |
| content_encoding=msg.content_encoding, | |
| priority=msg.priority, | |
| correlation_id=msg.correlation_id, | |
| message_id=msg.message_id, | |
| timestamp=msg.timestamp, | |
| message_type=message_type, | |
| user_id=msg.user_id, | |
| app_id=msg.app_id, |
Up until this point in the code, the expiration property is propagated but not passed to the aiormq.abc.DeliveredMessage header property
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working