Uses of Class
com.azure.messaging.servicebus.administration.models.CreateSubscriptionOptions
Package
Description
Package containing classes managing resources in Azure Service Bus.
Package containing classes models for
ServiceBusAdministrationClient
and ServiceBusAdministrationAsyncClient
used for managing
Queues, Topics, and Subscriptions.-
Uses of CreateSubscriptionOptions in com.azure.messaging.servicebus.administration
Modifier and TypeMethodDescriptionServiceBusAdministrationAsyncClient.createSubscription
(String topicName, String subscriptionName, CreateSubscriptionOptions subscriptionOptions) Creates a subscription with theCreateSubscriptionOptions
.ServiceBusAdministrationClient.createSubscription
(String topicName, String subscriptionName, CreateSubscriptionOptions subscriptionOptions) Creates a subscription with theSubscriptionProperties
.Mono<com.azure.core.http.rest.Response<SubscriptionProperties>>
ServiceBusAdministrationAsyncClient.createSubscriptionWithResponse
(String topicName, String subscriptionName, CreateSubscriptionOptions subscriptionOptions) Creates a subscription and returns the created subscription in addition to the HTTP response.com.azure.core.http.rest.Response<SubscriptionProperties>
ServiceBusAdministrationClient.createSubscriptionWithResponse
(String topicName, String subscriptionName, CreateSubscriptionOptions subscriptionOptions, com.azure.core.util.Context context) Creates a queue and returns the created queue in addition to the HTTP response. -
Uses of CreateSubscriptionOptions in com.azure.messaging.servicebus.administration.models
Modifier and TypeMethodDescriptionCreateSubscriptionOptions.setAutoDeleteOnIdle
(Duration autoDeleteOnIdle) Set the autoDeleteOnIdle property: ISO 8601 timeSpan idle interval after which the subscription is automatically deleted.CreateSubscriptionOptions.setBatchedOperationsEnabled
(boolean enableBatchedOperations) Set the enableBatchedOperations property: Value that indicates whether server-side batched operations are enabled.CreateSubscriptionOptions.setDeadLetteringOnMessageExpiration
(boolean deadLetteringOnMessageExpiration) Set the deadLetteringOnMessageExpiration property: A value that indicates whether this subscription has dead letter support when a message expires.CreateSubscriptionOptions.setDefaultMessageTimeToLive
(Duration defaultMessageTimeToLive) Set the defaultMessageTimeToLive property: ISO 8601 default message timespan to live value.CreateSubscriptionOptions.setEnableDeadLetteringOnFilterEvaluationExceptions
(boolean deadLetteringOnFilterEvaluationExceptions) Set the deadLetteringOnFilterEvaluationExceptions property: A value that indicates whether this subscription has dead letter support when a message expires.CreateSubscriptionOptions.setForwardDeadLetteredMessagesTo
(String forwardDeadLetteredMessagesTo) Set the forwardDeadLetteredMessagesTo property: The name of the recipient entity to which all the messages sent to the subscription are forwarded to.CreateSubscriptionOptions.setForwardTo
(String forwardTo) Set the forwardTo property: The name of the recipient entity to which all the messages sent to the subscription are forwarded to.CreateSubscriptionOptions.setLockDuration
(Duration lockDuration) Set the lockDuration property: ISO 8601 time-span duration of a peek-lock; that is, the amount of time that the message is locked for other receivers.CreateSubscriptionOptions.setMaxDeliveryCount
(int maxDeliveryCount) Set the maxDeliveryCount property: The maximum delivery count.CreateSubscriptionOptions.setSessionRequired
(boolean requiresSession) Set the requiresSession property: A value that indicates whether the queue supports the concept of sessions.CreateSubscriptionOptions.setStatus
(EntityStatus status) Set the status property: Status of a Service Bus resource.CreateSubscriptionOptions.setUserMetadata
(String userMetadata) Set the userMetadata property: Metadata associated with the subscription.