| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServiceBusSubscription.Definition
The entirety of the subscription definition.
|
static interface |
ServiceBusSubscription.DefinitionStages.Blank
The first stage of a subscription definition.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithDefaultMessageTTL.withDefaultMessageTTL(org.joda.time.Period ttl)
Specifies the duration after which the message expires.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithDeleteOnIdle.withDeleteOnIdleDurationInMinutes(int durationInMinutes)
The idle interval after which the subscription is automatically deleted.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithExpiredMessageMovedToDeadLetterSubscription.withExpiredMessageMovedToDeadLetterSubscription()
Specifies that expired message must be moved to dead-letter subscription.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithMessageLockDuration.withMessageLockDurationInSeconds(int durationInSeconds)
Specifies the amount of time that the message is locked for other receivers.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithMessageMovedToDeadLetterSubscriptionOnFilterEvaluationException.withMessageMovedToDeadLetterSubscriptionOnFilterEvaluationException()
Specifies that filter evaluation failed message must be moved to dead-letter subscription.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount.withMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount(int deliveryCount)
Specifies maximum number of times a message can be delivered.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithAuthorizationRule.withNewAuthorizationRule(String name,
AccessRights... rights)
Creates an authorization rule for the subscription.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithExpiredMessageMovedToDeadLetterSubscription.withoutExpiredMessageMovedToDeadLetterSubscription()
Specifies that expired message should not be moved to dead-letter subscription.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithMessageBatching.withoutMessageBatching()
Specifies that the default batching should be disabled on this subscription.
|
ServiceBusSubscription.DefinitionStages.WithCreate |
ServiceBusSubscription.DefinitionStages.WithSession.withSession()
Specifies that session support should be enabled for the subscription.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/