Interface IServiceBusFunctionBuilder
An interface that allows for the configuration of service bus triggered functions
Namespace: FunctionMonkey.Abstractions.Builders
Assembly: FunctionMonkey.Abstractions.dll
Syntax
public interface IServiceBusFunctionBuilder
Methods
| Improve this Doc View SourceQueueFunction<TCommand>(String, Boolean)
Associate a function with the named service bus queue and command type
Declaration
IServiceBusFunctionOptionBuilder<TCommand> QueueFunction<TCommand>(string queueName, bool isSessionEnabled = false)
Parameters
Type | Name | Description |
---|---|---|
System. |
queueName | The name of the queue |
System. |
isSessionEnabled | Should session IDs be used when processing the queue, requires a session ID enabled queue. Defaults to false. |
Returns
Type | Description |
---|---|
IService |
A service bus function builder that allows more functions to be created |
Type Parameters
Name | Description |
---|---|
TCommand | The command type |
SubscriptionFunction<TCommand>(String, String, Boolean)
Associate a function with the named topic and subscription and command type
Declaration
IServiceBusFunctionOptionBuilder<TCommand> SubscriptionFunction<TCommand>(string topicName, string subscriptionName, bool isSessionEnabled = false)
Parameters
Type | Name | Description |
---|---|---|
System. |
topicName | The name of the topic |
System. |
subscriptionName | The name of the subscription |
System. |
isSessionEnabled | Should session IDs be used when processing the queue, requires a session ID enabled subscription. Defaults to false. |
Returns
Type | Description |
---|---|
IService |
A service bus function builder that allows more functions to be created |
Type Parameters
Name | Description |
---|---|
TCommand | The type of the command |