ServiceBusSubscription Interface

Implements

IndependentChildResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,com.microsoft.azure.management.servicebus.implementation.SubscriptionInner> Refreshable<ServiceBusSubscription> Updatable<Update>

public interface ServiceBusSubscription
extends IndependentChildResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,com.microsoft.azure.management.servicebus.implementation.SubscriptionInner>, Refreshable<ServiceBusSubscription>, Updatable<Update>

Type representing service bus topic subscription.

Method Summary

Modifier and Type Method and Description
abstract org.joda.time.DateTime accessedAt()
abstract long activeMessageCount()
abstract org.joda.time.DateTime createdAt()
abstract long deadLetterMessageCount()
abstract org.joda.time.Period defaultMessageTtlDuration()
abstract long deleteOnIdleDurationInMinutes()
abstract boolean isBatchedOperationsEnabled()
abstract boolean isDeadLetteringEnabledForExpiredMessages()
abstract boolean isDeadLetteringEnabledForFilterEvaluationFailedMessages()
abstract boolean isSessionEnabled()
abstract long lockDurationInSeconds()
abstract int maxDeliveryCountBeforeDeadLetteringMessage()
abstract long messageCount()
abstract long scheduledMessageCount()
abstract EntityStatus status()
abstract long transferDeadLetterMessageCount()
abstract long transferMessageCount()
abstract org.joda.time.DateTime updatedAt()

Method Details

accessedAt

public abstract DateTime accessedAt()

Returns:

last time there was a receive request to this subscription

activeMessageCount

public abstract long activeMessageCount()

Returns:

number of active messages in the subscription

createdAt

public abstract DateTime createdAt()

Returns:

the exact time the message was created

deadLetterMessageCount

public abstract long deadLetterMessageCount()

Returns:

number of messages in the dead-letter subscription

defaultMessageTtlDuration

public abstract Period defaultMessageTtlDuration()

Returns:

the duration after which the message expires, starting from when the message is sent to subscription.

deleteOnIdleDurationInMinutes

public abstract long deleteOnIdleDurationInMinutes()

Returns:

the idle duration after which the subscription is automatically deleted.

isBatchedOperationsEnabled

public abstract boolean isBatchedOperationsEnabled()

Returns:

indicates whether server-side batched operations are enabled

isDeadLetteringEnabledForExpiredMessages

public abstract boolean isDeadLetteringEnabledForExpiredMessages()

Returns:

indicates whether this subscription has dead letter support when a message expires

isDeadLetteringEnabledForFilterEvaluationFailedMessages

public abstract boolean isDeadLetteringEnabledForFilterEvaluationFailedMessages()

Returns:

indicates whether subscription has dead letter support on filter evaluation exceptions

isSessionEnabled

public abstract boolean isSessionEnabled()

Returns:

indicates whether the subscription supports sessions

lockDurationInSeconds

public abstract long lockDurationInSeconds()

Returns:

the duration of peek-lock which is the amount of time that the message is locked for other receivers

maxDeliveryCountBeforeDeadLetteringMessage

public abstract int maxDeliveryCountBeforeDeadLetteringMessage()

Returns:

the maximum number of a message delivery before marking it as dead-lettered

messageCount

public abstract long messageCount()

Returns:

the number of messages in the subscription

scheduledMessageCount

public abstract long scheduledMessageCount()

Returns:

number of messages sent to the subscription that are yet to be released for consumption

status

public abstract EntityStatus status()

Returns:

the current status of the subscription

transferDeadLetterMessageCount

public abstract long transferDeadLetterMessageCount()

Returns:

number of messages transferred into dead letters

transferMessageCount

public abstract long transferMessageCount()

Returns:

number of messages transferred to another queue, topic, or subscription

updatedAt

public abstract DateTime updatedAt()

Returns:

the exact time the message was updated

Applies to