You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespaceAzureFunctions.ServiceBusTrigger.Bug.Receiver.FunctionA{publicclassRunner{publicstaticvoidRun(stringmessage,TraceWriterlog){log.Info($"FunctionA processed the message: {message}");}}}
namespaceAzureFunctions.ServiceBusTrigger.Bug.Receiver.FunctionB{publicclassRunner{publicstaticvoidRun(stringmessage,TraceWriterlog){log.Info($"FunctionB processed the message: {message}");}}}
FunctionApp Receiver will be created with FunctionA (with trigger on messages in queue-function-a) and FunctionB (with trigger on messages in queue-function-b)
FunctionApp Sender will be created with FunctionA (manual trigger) that sends messages to the queue-function-a
Run Sender
Actual result:
FunctionA is triggered with the following message in the log: "FunctionB processed the message"
Expected result:
FunctionA is triggered with the following message in the log: "FunctionA processed the message"
Note: the bug is also reproducible locally using the Azure Functions CLI.
The text was updated successfully, but these errors were encountered:
I have one function app with two precompiled functions:
FunctionA
is triggered on messages in ServiceBus queuequeue-function-a
FunctionB
is triggered on messages in ServiceBus queuequeue-function-b
(both queues are in the same Service Bus namespace)
However the code of the second function is always executed regardless of what function is triggered.
FunctionA:
FunctionB:
I've created AzureFunctions.ServiceBusTrigger.Bug repository to demonstrate this unexpected behavior.
Steps to reproduce:
Deploy to Azure
Receiver
will be created withFunctionA
(with trigger on messages inqueue-function-a
) andFunctionB
(with trigger on messages inqueue-function-b
)Sender
will be created withFunctionA
(manual trigger) that sends messages to thequeue-function-a
Actual result:
FunctionA
is triggered with the following message in the log: "FunctionB processed the message"Expected result:
FunctionA
is triggered with the following message in the log: "FunctionA processed the message"Note: the bug is also reproducible locally using the Azure Functions CLI.
The text was updated successfully, but these errors were encountered: