Skip to content

Commit

Permalink
Add property to Azure functions triggered by Service Bus incoming mes…
Browse files Browse the repository at this point in the history
…sages to manage batch (#122)

Co-authored-by: Sabrina Juarez Garcia <[email protected]>
  • Loading branch information
sjuarezgx and Sabrina Juarez Garcia authored Dec 25, 2024
1 parent 642f3b9 commit 5ce124f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions src/AzureFunctions/Properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,18 @@ Service Bus-&gt; A Service Bus trigger function.
<Description>Name of the subscription to monitor.</Description>
<Type>Text</Type>
</Prop>
<Prop>
<Id>AZURE_FUNCTIONS_SERVICEBUS_ISBATCH</Id>
<Name>Batch Function</Name>
<Description>Process multiple messages in a batch.</Description>
<Type>Combo</Type>
<Default>false</Default>
<Metadata />
<Values>
<Value id="true" desc="true" />
<Value id="false" desc="false" />
</Values>
</Prop>
<Group>
<Id>BusConnectionAppsettings</Id>
<Name>Service Bus Connection App settings</Name>
Expand Down
3 changes: 2 additions & 1 deletion src/AzureFunctions/createpackage.msbuild
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
CosmosDBLeaseContainerPrefix = "$(AZURE_FUNCTIONS_COSMOSDB_LEASE_CONTAINER_PREFIX)"
EventGridSchema = "$(AZURE_FUNCTIONS_EVENTGRID_SCHEMA)"
DeployFullPath="$(DeployFullPath)"
GeneratorId = "$(Generator)" />
GeneratorId = "$(Generator)"
IsBatch = "$(AZURE_FUNCTIONS_SERVICEBUS_ISBATCH)" />

<ItemGroup>
<Procedure Include="@(Object)" Condition="'%(Object.Type)' == 'Procedure'" />
Expand Down

0 comments on commit 5ce124f

Please sign in to comment.