Skip to content

Commit d959029

Browse files
Make subscriptionName parameter optional in ServiceBusTopicOutput
1 parent 0d2b11a commit d959029

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/microsoft/azure/functions/annotation/ServiceBusTopicOutput.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@
5959
/**
6060
* Defines the subscription name of the Service Bus topic to which to write.
6161
*
62+
* @deprecated This is not required to send messages to a topic
63+
*
6264
* @return The Service Bus topic subscription name string.
6365
*/
64-
String subscriptionName();
66+
String subscriptionName() default "";
6567

6668
/**
6769
* Defines the app setting name that contains the Service Bus connection string.

0 commit comments

Comments
 (0)