Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.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
具有动态队列名称输出的Azure函数_Azure_Azure Functions_Azure Logic Apps - Fatal编程技术网

具有动态队列名称输出的Azure函数

具有动态队列名称输出的Azure函数,azure,azure-functions,azure-logic-apps,Azure,Azure Functions,Azure Logic Apps,编辑:重写问题,因为我学到了很多 基本上,我需要一个带有主题订阅触发器的函数,该函数随后将输出到队列,但队列名称由入站消息头确定。伪代码: <-- @ServiceBusTopicTrigger(message) outboundqueueName = getQueueName(message.getProperty('x')) --> @ServiceBusQueueOutput(outboundQueueName) @ServiceBusQueueOutput(outbound

编辑:重写问题,因为我学到了很多

基本上,我需要一个带有主题订阅触发器的函数,该函数随后将输出到队列,但队列名称由入站消息头确定。伪代码:

<-- @ServiceBusTopicTrigger(message)
outboundqueueName = getQueueName(message.getProperty('x'))
--> @ServiceBusQueueOutput(outboundQueueName)
@ServiceBusQueueOutput(outboundQueueName)
因此,我似乎可以创建一个带有主题触发器的函数,并配置来自cosmos DB的输入,例如输出到队列

但这只适用于特定队列,如何选择发送到哪个队列

(Java编码)


TIA

如果除了在动态确定的队列中放置一些东西之外,您不需要对消息做太多其他事情,为什么不使用逻辑应用程序呢



那个截图只是一个概念演示。这里有一个解析JSON和选择属性等的好例子:


请提供一些代码或更多信息?