Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Snippets/ASBS/ASBS_5/topology-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"QueueNameToSubscriptionNameMap": {
"Publisher": "PublisherSubscriptionName"
}
},
"ThrowIfUnmappedEventTypes": false
}
# endcode topology-options
3 changes: 2 additions & 1 deletion Snippets/ASBS/ASBS_6/topology-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"QueueNameToSubscriptionNameMap": {
"Publisher": "PublisherSubscriptionName"
}
},
"ThrowIfUnmappedEventTypes": false
}
# endcode topology-options
2 changes: 2 additions & 0 deletions transports/azure-service-bus/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Configuration
summary: Explains the configuration options
component: ASBS
reviewed: 2025-03-21
related:
- samples/azure-service-bus-netstandard/options
---

## Configuring an endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ The topology json document for the topic-per-event topology looks like:

snippet: topology-options

If it is desired to enforce that each event type published has an explicit topic name mapping in `PublishedEventToTopicsMap` then `ThrowIfUnmappedEventTypes` can be set to `true`. This property defaults to `false`.

In order to support polymorphic event types, one event (base type) can be mapped to multiple topics (where the derived events are published):

snippet: topology-options-inheritance
Expand Down
Loading