ServiceBusDestination<TInput>
Class ServiceBusDestination<TInput>
A data flow destination for Azure service bus.
Inherited Members
Namespace: ETLBox.Azure.ServiceBus
Assembly: ETLBox.Azure.ServiceBus.dll
Syntax
Type Parameters
Name | Description |
---|---|
TInput | Type of incoming data |
Constructors
ServiceBusDestination()
Declaration
Properties
Client
The client that owns the connection and can be used to create senders and receivers.
Automatically created if you provide a ConnectionString, unless you provide your own instance here.
Declaration
Property Value
Type | Description |
---|---|
ServiceBusClient |
ClientOptions
The client options used when instantiating a new client.
Declaration
Property Value
Type | Description |
---|---|
ServiceBusClientOptions |
ConnectionString
If you provide a namespace connection string, this component will create new ServiceBusClient and ServiceBusSender objects to communicate with the Azure Service Bus. If you need to reuse existing Client/Sender objects, you can provide your own via the Client and Sender properties.
Declaration
Property Value
Type | Description |
---|---|
string |
MessageCreation
By default, your object is serialized into json and send as a ServiceBusMessage without additional parameters. Define your own serialization function here.
Declaration
Property Value
Type | Description |
---|---|
Func<TInput, ServiceBusMessage> |
QueueOrTopicName
Name of the destination queue or topic
Declaration
Property Value
Type | Description |
---|---|
string |
Sender
The sender used to publish messages to the queue. Automatically created from the Client.
Declaration
Property Value
Type | Description |
---|---|
ServiceBusSender |
SenderOptions
The sender options used when instantiating a new sender.
Declaration
Property Value
Type | Description |
---|---|
ServiceBusSenderOptions |
Methods
BulkInsertData(TInput[])
Declaration
Parameters
Type | Name | Description |
---|---|---|
TInput[] | data |