Edit: rewriting question as I learned a lot more
Basically I want a function with a topic subscription trigger, that will then output to a queue, but the queue name is determined by the inbound message header. Pseudocode:
<-- @ServiceBusTopicTrigger(message)
outboundqueueName = getQueueName(message.getProperty('x'))
--> @ServiceBusQueueOutput(outboundQueueName)
So it seems I can create a function with topic trigger and configure an input from a cosmos DB for example and output to a queue.
But this will only work for a specific queue, how can I choose which queue to send to?
(Java coding)
TIA
