Replies: 2 comments 1 reply
-
My colleague found a way where we could instantiate the IDurableOrchestrationClient during runtime using the IDurableClientFactory.createClient() from the library. I guess its ok to use this to achieve what I need? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi, here's the sample code from my colleague:
The client enumeration is just a sample. We'll keep all the connection name string in the azure function's configuration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Can I change the connection or taskhub name before I start a new orchestration using the durable client? I have an use case where I need to have the durable function running in different queues based on the load at that time.
For example, I have a function with httptrigger, it receives a request, and based on some criteria, I would like to start the orchestration on different queue. It's quite similar to what RaiseEventAsync() command can do, but on StartNewAsync().
Beta Was this translation helpful? Give feedback.
All reactions