Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/345.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python SDK中服务总线队列的计划队列属性_Python_Azure_Azureservicebus - Fatal编程技术网

Python SDK中服务总线队列的计划队列属性

Python SDK中服务总线队列的计划队列属性,python,azure,azureservicebus,Python,Azure,Azureservicebus,我们在开发中使用Azure service bus,需要使用service bus的schedulequeue属性。我们找到了如何使用C实现它,但是,我们如何在Python SDK中为服务总线队列使用属性?请查看文档: 本节介绍如何使用此处定义的代理和用户属性: 在引用的链接中,您可以找到代理消息的ScheduledEnqueueTimeUtc属性,因此可以将其设置为: sent_msg = Message(b'This is the third message',

我们在开发中使用Azure service bus,需要使用service bus的schedulequeue属性。我们找到了如何使用C实现它,但是,我们如何在Python SDK中为服务总线队列使用属性?

请查看文档:

本节介绍如何使用此处定义的代理和用户属性:

在引用的链接中,您可以找到代理消息的ScheduledEnqueueTimeUtc属性,因此可以将其设置为:

sent_msg = Message(b'This is the third message',
               broker_properties={'ScheduledEnqueueTimeUtc': datetime(2011, 12, 14)}
       )

请查看文档:

本节介绍如何使用此处定义的代理和用户属性:

在引用的链接中,您可以找到代理消息的ScheduledEnqueueTimeUtc属性,因此可以将其设置为:

sent_msg = Message(b'This is the third message',
               broker_properties={'ScheduledEnqueueTimeUtc': datetime(2011, 12, 14)}
       )
在v7中 ,我们有一个关于预定排队时间的kwarg

from azure.servicebus import ServiceBusMessage

ServiceBusMessage(object, scheduled_enqueue_time_utc=datetime(2011, 12, 14))
在v7中 ,我们有一个关于预定排队时间的kwarg

from azure.servicebus import ServiceBusMessage

ServiceBusMessage(object, scheduled_enqueue_time_utc=datetime(2011, 12, 14))