Best way to stop and restart ServiceBusProcessorClient #38045
Unanswered
niemand23real
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am using a ServiceBusProcessorClient in order to consume some messages from a service bus topic. All is working well, but everytime I change something in the processMessage function I need to restart the whole application in order to have the change reflected.
I tried everything, even saved the client instance as atomic reference in order to be able to stop it later, but even if I call the stop function the client is still consuming messages. Any idea what is the best way to have changes reflected without needing to restart the whole application?
Thanks,
n23
Beta Was this translation helpful? Give feedback.
All reactions