| Package | Description |
|---|---|
| com.azure.messaging.servicebus.administration |
Package containing classes managing resources in Azure Service Bus.
|
| com.azure.messaging.servicebus.administration.models |
Package containing classes models for
ServiceBusAdministrationClient
and ServiceBusAdministrationAsyncClient used for managing
Queues, Topics, and Subscriptions. |
| Modifier and Type | Method and Description |
|---|---|
Mono<SubscriptionProperties> |
ServiceBusAdministrationAsyncClient.createSubscription(String topicName,
String subscriptionName,
CreateSubscriptionOptions subscriptionOptions)
Creates a subscription with the
CreateSubscriptionOptions. |
SubscriptionProperties |
ServiceBusAdministrationClient.createSubscription(String topicName,
String subscriptionName,
CreateSubscriptionOptions subscriptionOptions)
Creates a subscription with the
SubscriptionProperties. |
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.
|
| Modifier and Type | Method and Description |
|---|---|
CreateSubscriptionOptions |
CreateSubscriptionOptions.setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Set the autoDeleteOnIdle property: ISO 8601 timeSpan idle interval after which the subscription is automatically
deleted.
|
CreateSubscriptionOptions |
CreateSubscriptionOptions.setBatchedOperationsEnabled(boolean enableBatchedOperations)
Set the enableBatchedOperations property: Value that indicates whether server-side batched operations are
enabled.
|
CreateSubscriptionOptions |
CreateSubscriptionOptions.setDeadLetteringOnMessageExpiration(boolean deadLetteringOnMessageExpiration)
Set the deadLetteringOnMessageExpiration property: A value that indicates whether this subscription has dead
letter support when a message expires.
|
CreateSubscriptionOptions |
CreateSubscriptionOptions.setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
Set the defaultMessageTimeToLive property: ISO 8601 default message timespan to live value.
|
CreateSubscriptionOptions |
CreateSubscriptionOptions.setEnableDeadLetteringOnFilterEvaluationExceptions(boolean deadLetteringOnFilterEvaluationExceptions)
Set the deadLetteringOnFilterEvaluationExceptions property: A value that indicates whether this subscription has
dead letter support when a message expires.
|
CreateSubscriptionOptions |
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 |
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 |
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 |
CreateSubscriptionOptions.setMaxDeliveryCount(int maxDeliveryCount)
Set the maxDeliveryCount property: The maximum delivery count.
|
CreateSubscriptionOptions |
CreateSubscriptionOptions.setSessionRequired(boolean requiresSession)
Set the requiresSession property: A value that indicates whether the queue supports the concept of sessions.
|
CreateSubscriptionOptions |
CreateSubscriptionOptions.setStatus(EntityStatus status)
Set the status property: Status of a Service Bus resource.
|
CreateSubscriptionOptions |
CreateSubscriptionOptions.setUserMetadata(String userMetadata)
Set the userMetadata property: Metadata associated with the subscription.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.