Package | Description |
---|---|
com.microsoft.azure.servicebus | |
com.microsoft.azure.servicebus.management | |
com.microsoft.azure.servicebus.primitives |
Modifier and Type | Method and Description |
---|---|
void |
SubscriptionClient.abandon(UUID lockToken) |
void |
QueueClient.abandon(UUID lockToken) |
void |
IMessageReceiver.abandon(UUID lockToken)
Abandon
Message with lock token. |
void |
SubscriptionClient.abandon(UUID lockToken,
Map<String,Object> propertiesToModify) |
void |
QueueClient.abandon(UUID lockToken,
Map<String,Object> propertiesToModify) |
void |
IMessageReceiver.abandon(UUID lockToken,
Map<String,Object> propertiesToModify)
Abandon
Message with lock token and updated message property. |
void |
SubscriptionClient.abandon(UUID lockToken,
Map<String,Object> propertiesToModify,
TransactionContext transaction) |
void |
QueueClient.abandon(UUID lockToken,
Map<String,Object> propertiesToModify,
TransactionContext transaction) |
void |
IMessageReceiver.abandon(UUID lockToken,
Map<String,Object> propertiesToModify,
TransactionContext transaction)
Abandon
Message with lock token and updated message property. |
void |
SubscriptionClient.abandon(UUID lockToken,
TransactionContext transaction) |
void |
QueueClient.abandon(UUID lockToken,
TransactionContext transaction) |
void |
IMessageReceiver.abandon(UUID lockToken,
TransactionContext transaction)
Abandon
Message with lock token. |
static IMessageSession |
ClientFactory.acceptSessionFromConnectionString(String amqpConnectionString,
String sessionId)
Accept a
IMessageSession in default ReceiveMode.PEEKLOCK mode from service bus connection string with specified session id. |
static IMessageSession |
ClientFactory.acceptSessionFromConnectionString(String amqpConnectionString,
String sessionId,
ReceiveMode receiveMode)
Accept a
IMessageSession from service bus connection string with specified session id. |
static IMessageSession |
ClientFactory.acceptSessionFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder,
String sessionId)
Accept a
IMessageSession in default ReceiveMode.PEEKLOCK mode from service bus connection string builder with specified session id. |
static IMessageSession |
ClientFactory.acceptSessionFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder,
String sessionId,
ReceiveMode receiveMode)
Accept a
IMessageSession from service bus connection string builder with specified session id. |
static IMessageSession |
ClientFactory.acceptSessionFromEntityPath(MessagingFactory messagingFactory,
String entityPath,
String sessionId)
Accept a
IMessageSession from service bus using the client settings with specified session id. |
static IMessageSession |
ClientFactory.acceptSessionFromEntityPath(MessagingFactory messagingFactory,
String entityPath,
String sessionId,
ReceiveMode receiveMode)
Accept a
IMessageSession from service bus using the client settings with specified session id. |
static IMessageSession |
ClientFactory.acceptSessionFromEntityPath(String namespaceName,
String entityPath,
String sessionId,
ClientSettings clientSettings)
Accept a
IMessageSession from service bus using the client settings with specified session id in PeekLock mode. |
static IMessageSession |
ClientFactory.acceptSessionFromEntityPath(String namespaceName,
String entityPath,
String sessionId,
ClientSettings clientSettings,
ReceiveMode receiveMode)
Accept a
IMessageSession from service bus using the client settings with specified session id. |
static IMessageSession |
ClientFactory.acceptSessionFromEntityPath(URI namespaceEndpointURI,
String entityPath,
String sessionId,
ClientSettings clientSettings)
Accept a
IMessageSession from service bus using the client settings with specified session id in PeekLock mode. |
static IMessageSession |
ClientFactory.acceptSessionFromEntityPath(URI namespaceEndpointURI,
String entityPath,
String sessionId,
ClientSettings clientSettings,
ReceiveMode receiveMode)
Accept a
IMessageSession from service bus using the client settings with specified session id. |
void |
SubscriptionClient.addRule(RuleDescription ruleDescription) |
void |
ISubscriptionClient.addRule(RuleDescription ruleDescription)
Adds a rule to the current subscription to filter the messages reaching from topic to the subscription.
|
void |
SubscriptionClient.addRule(String ruleName,
Filter filter) |
void |
ISubscriptionClient.addRule(String ruleName,
Filter filter)
Adds a rule with specified name and
Filter to the current subscription to filter the messages reaching from topic to the subscription. |
void |
IMessageSender.cancelScheduledMessage(long sequenceNumber)
Cancels the enqueuing of an already sent scheduled message, if it was not already enqueued.
|
void |
TopicClient.cancelScheduledMessage(long sequenceNumber) |
void |
QueueClient.cancelScheduledMessage(long sequenceNumber) |
void |
ICloseable.close()
Synchronously closes and disposes any resources associated with this object.
|
void |
TransactionContext.commit()
Commits the transaction
|
void |
SubscriptionClient.complete(UUID lockToken) |
void |
QueueClient.complete(UUID lockToken) |
void |
IMessageReceiver.complete(UUID lockToken)
Completes a
Message using its lock token. |
void |
SubscriptionClient.complete(UUID lockToken,
TransactionContext transaction) |
void |
QueueClient.complete(UUID lockToken,
TransactionContext transaction) |
void |
IMessageReceiver.complete(UUID lockToken,
TransactionContext transaction)
Completes a
Message using its lock token. |
static <T> T |
Utils.completeFuture(CompletableFuture<T> future) |
static IMessageReceiver |
ClientFactory.createMessageReceiverFromConnectionString(String amqpConnectionString)
Create
IMessageReceiver in default ReceiveMode.PEEKLOCK mode from service bus connection string with Shared Access Signatures |
static IMessageReceiver |
ClientFactory.createMessageReceiverFromConnectionString(String amqpConnectionString,
ReceiveMode receiveMode)
Create
IMessageReceiver in default ReceiveMode.PEEKLOCK mode from service bus connection string with Shared Access Signatures |
static IMessageReceiver |
ClientFactory.createMessageReceiverFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder)
Create
IMessageReceiver in default ReceiveMode.PEEKLOCK mode from ConnectionStringBuilder |
static IMessageReceiver |
ClientFactory.createMessageReceiverFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder,
ReceiveMode receiveMode)
Create
IMessageReceiver from ConnectionStringBuilder |
static IMessageReceiver |
ClientFactory.createMessageReceiverFromEntityPath(MessagingFactory messagingFactory,
String entityPath)
Creates a message receiver to the entity.
|
static IMessageReceiver |
ClientFactory.createMessageReceiverFromEntityPath(MessagingFactory messagingFactory,
String entityPath,
ReceiveMode receiveMode)
Creates a message receiver to the entity.
|
static IMessageReceiver |
ClientFactory.createMessageReceiverFromEntityPath(String namespaceName,
String entityPath,
ClientSettings clientSettings)
Creates a message receiver to the entity using the client settings in PeekLock mode
|
static IMessageReceiver |
ClientFactory.createMessageReceiverFromEntityPath(String namespaceName,
String entityPath,
ClientSettings clientSettings,
ReceiveMode receiveMode)
Creates a message receiver to the entity using the client settings.
|
static IMessageReceiver |
ClientFactory.createMessageReceiverFromEntityPath(URI namespaceEndpointURI,
String entityPath,
ClientSettings clientSettings)
Creates a message receiver to the entity using the client settings in PeekLock mode
|
static IMessageReceiver |
ClientFactory.createMessageReceiverFromEntityPath(URI namespaceEndpointURI,
String entityPath,
ClientSettings clientSettings,
ReceiveMode receiveMode)
Creates a message receiver to the entity using the client settings.
|
static IMessageSender |
ClientFactory.createMessageSenderFromConnectionString(String amqpConnectionString)
Create message sender from service bus connection string with Shared Access Signatures
|
static IMessageSender |
ClientFactory.createMessageSenderFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder)
Create message sender from ConnectionStringBuilder
|
static IMessageSender |
ClientFactory.createMessageSenderFromEntityPath(MessagingFactory messagingFactory,
String entityPath)
Creates a message sender to the entity.
|
static IMessageSender |
ClientFactory.createMessageSenderFromEntityPath(String namespaceName,
String entityPath,
ClientSettings clientSettings)
Creates a message sender to the entity using the client settings.
|
static IMessageSender |
ClientFactory.createMessageSenderFromEntityPath(URI namespaceEndpointURI,
String entityPath,
ClientSettings clientSettings)
Creates a message sender to the entity using the client settings.
|
static IMessageSender |
ClientFactory.createTransferMessageSenderFromEntityPath(MessagingFactory messagingFactory,
String entityPath,
String viaEntityPath)
Creates a transfer message sender.
|
void |
SubscriptionClient.deadLetter(UUID lockToken) |
void |
QueueClient.deadLetter(UUID lockToken) |
void |
IMessageReceiver.deadLetter(UUID lockToken)
Moves a
Message to the deadletter sub-queue. |
void |
SubscriptionClient.deadLetter(UUID lockToken,
Map<String,Object> propertiesToModify) |
void |
QueueClient.deadLetter(UUID lockToken,
Map<String,Object> propertiesToModify) |
void |
IMessageReceiver.deadLetter(UUID lockToken,
Map<String,Object> propertiesToModify)
Moves a
Message to the deadletter sub-queue with modified message properties. |
void |
SubscriptionClient.deadLetter(UUID lockToken,
Map<String,Object> propertiesToModify,
TransactionContext transaction) |
void |
QueueClient.deadLetter(UUID lockToken,
Map<String,Object> propertiesToModify,
TransactionContext transaction) |
void |
IMessageReceiver.deadLetter(UUID lockToken,
Map<String,Object> propertiesToModify,
TransactionContext transaction)
Moves a
Message to the deadletter sub-queue with modified message properties. |
void |
SubscriptionClient.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription) |
void |
QueueClient.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription) |
void |
IMessageReceiver.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription)
Moves a
Message to the deadletter sub-queue with deadletter reason and error description. |
void |
SubscriptionClient.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
Map<String,Object> propertiesToModify) |
void |
QueueClient.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
Map<String,Object> propertiesToModify) |
void |
IMessageReceiver.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
Map<String,Object> propertiesToModify)
Moves a
Message to the deadletter sub-queue with deadletter reason and error description and modified properties. |
void |
SubscriptionClient.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
Map<String,Object> propertiesToModify,
TransactionContext transaction) |
void |
QueueClient.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
Map<String,Object> propertiesToModify,
TransactionContext transaction) |
void |
IMessageReceiver.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
Map<String,Object> propertiesToModify,
TransactionContext transaction)
Moves a
Message to the deadletter sub-queue with deadletter reason and error description and modified properties. |
void |
SubscriptionClient.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
TransactionContext transaction) |
void |
QueueClient.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
TransactionContext transaction) |
void |
IMessageReceiver.deadLetter(UUID lockToken,
String deadLetterReason,
String deadLetterErrorDescription,
TransactionContext transaction)
Moves a
Message to the deadletter sub-queue with deadletter reason and error description. |
void |
SubscriptionClient.deadLetter(UUID lockToken,
TransactionContext transaction) |
void |
QueueClient.deadLetter(UUID lockToken,
TransactionContext transaction) |
void |
IMessageReceiver.deadLetter(UUID lockToken,
TransactionContext transaction)
Moves a
Message to the deadletter sub-queue. |
void |
IMessageReceiver.defer(UUID lockToken)
Defers a
Message using its lock token. |
void |
IMessageReceiver.defer(UUID lockToken,
Map<String,Object> propertiesToModify)
Defers a
Message using its lock token with modified message property. |
void |
IMessageReceiver.defer(UUID lockToken,
Map<String,Object> propertiesToModify,
TransactionContext transaction)
Defers a
Message using its lock token with modified message property. |
void |
IMessageReceiver.defer(UUID lockToken,
TransactionContext transaction)
Defers a
Message using its lock token. |
Collection<IMessageSession> |
IMessageSessionEntity.getMessageSessions()
Gets the message sessions, enabling you to browse sessions on queues.
|
Collection<IMessageSession> |
IMessageSessionEntity.getMessageSessions(Instant lastUpdatedTime)
Retrieves all message sessions whose session state was updated since lastUpdatedTime.
|
Collection<RuleDescription> |
SubscriptionClient.getRules() |
Collection<RuleDescription> |
ISubscriptionClient.getRules()
Get all rules associated with the subscription.
|
byte[] |
IMessageSession.getState()
Gets the session state.
|
byte[] |
MessageSession.getState() |
IMessage |
TopicClient.peek() |
IMessage |
IMessageBrowser.peek()
reads next the active message without changing the state of the receiver or the message source.
|
IMessage |
TopicClient.peek(long fromSequenceNumber) |
IMessage |
IMessageBrowser.peek(long fromSequenceNumber)
Reads next the active message without changing the state of the receiver or the message source.
|
Collection<IMessage> |
TopicClient.peekBatch(int messageCount) |
Collection<IMessage> |
IMessageBrowser.peekBatch(int messageCount)
Reads next batch of the active messages without changing the state of the receiver or the message source.
|
Collection<IMessage> |
TopicClient.peekBatch(long fromSequenceNumber,
int messageCount) |
Collection<IMessage> |
IMessageBrowser.peekBatch(long fromSequenceNumber,
int messageCount)
Reads next batch of the active messages without changing the state of the receiver or the message source.
|
IMessage |
IMessageReceiver.receive()
Receives a
Message with default server wait time. |
IMessage |
IMessageReceiver.receive(Duration serverWaitTime)
Receives a
Message with specified server wait time. |
Collection<IMessage> |
IMessageReceiver.receiveBatch(int maxMessageCount)
Receives a maximum of maxMessageCount
Message from Azure Service Bus. |
Collection<IMessage> |
IMessageReceiver.receiveBatch(int maxMessageCount,
Duration serverWaitTime)
Receives a maximum of maxMessageCount
Message from Azure Service Bus with server wait time. |
IMessage |
IMessageReceiver.receiveDeferredMessage(long sequenceNumber)
Receives a deferred
Message . |
Collection<IMessage> |
IMessageReceiver.receiveDeferredMessageBatch(Collection<Long> sequenceNumbers)
Receives a batch of deferred
Message . |
void |
SubscriptionClient.registerMessageHandler(IMessageHandler handler)
Deprecated.
|
void |
QueueClient.registerMessageHandler(IMessageHandler handler)
Deprecated.
|
void |
SubscriptionClient.registerMessageHandler(IMessageHandler handler,
ExecutorService executorService) |
void |
QueueClient.registerMessageHandler(IMessageHandler handler,
ExecutorService executorService) |
void |
SubscriptionClient.registerMessageHandler(IMessageHandler handler,
MessageHandlerOptions handlerOptions)
Deprecated.
|
void |
QueueClient.registerMessageHandler(IMessageHandler handler,
MessageHandlerOptions handlerOptions)
Deprecated.
|
void |
SubscriptionClient.registerMessageHandler(IMessageHandler handler,
MessageHandlerOptions handlerOptions,
ExecutorService executorService) |
void |
QueueClient.registerMessageHandler(IMessageHandler handler,
MessageHandlerOptions handlerOptions,
ExecutorService executorService) |
void |
SubscriptionClient.registerSessionHandler(ISessionHandler handler)
Deprecated.
|
void |
QueueClient.registerSessionHandler(ISessionHandler handler)
Deprecated.
|
void |
SubscriptionClient.registerSessionHandler(ISessionHandler handler,
ExecutorService executorService) |
void |
QueueClient.registerSessionHandler(ISessionHandler handler,
ExecutorService executorService) |
void |
SubscriptionClient.registerSessionHandler(ISessionHandler handler,
SessionHandlerOptions handlerOptions)
Deprecated.
|
void |
QueueClient.registerSessionHandler(ISessionHandler handler,
SessionHandlerOptions handlerOptions)
Deprecated.
|
void |
SubscriptionClient.registerSessionHandler(ISessionHandler handler,
SessionHandlerOptions handlerOptions,
ExecutorService executorService) |
void |
QueueClient.registerSessionHandler(ISessionHandler handler,
SessionHandlerOptions handlerOptions,
ExecutorService executorService) |
void |
SubscriptionClient.removeRule(String ruleName) |
void |
ISubscriptionClient.removeRule(String ruleName)
Removes the rule on the subscription identified by ruleName
|
Instant |
IMessageReceiver.renewMessageLock(IMessage message)
Renews the lock on the message specified by the lock token.
|
Instant |
IMessageReceiver.renewMessageLock(UUID lockToken)
Renews the lock on the message specified by the lock token.
|
void |
IMessageSession.renewSessionLock()
Renews the lock on the session specified by the
IMessageSession.getSessionId() . |
void |
MessageSession.renewSessionLock() |
void |
TransactionContext.rollback()
Rollback the transaction
|
long |
IMessageSender.scheduleMessage(IMessage message,
Instant scheduledEnqueueTimeUtc)
Sends a scheduled message to the Azure Service Bus entity this sender is connected to.
|
long |
TopicClient.scheduleMessage(IMessage message,
Instant scheduledEnqueueTimeUtc) |
long |
QueueClient.scheduleMessage(IMessage message,
Instant scheduledEnqueueTimeUtc) |
long |
IMessageSender.scheduleMessage(IMessage message,
Instant scheduledEnqueueTimeUtc,
TransactionContext transaction)
Sends a scheduled message to the Azure Service Bus entity this sender is connected to.
|
long |
TopicClient.scheduleMessage(IMessage message,
Instant scheduledEnqueueTimeUtc,
TransactionContext transaction) |
long |
QueueClient.scheduleMessage(IMessage message,
Instant scheduledEnqueueTimeUtc,
TransactionContext transaction) |
void |
IMessageSender.send(IMessage message)
Sends a message to the Azure Service Bus entity this sender is connected to.
|
void |
TopicClient.send(IMessage message) |
void |
QueueClient.send(IMessage message) |
void |
IMessageSender.send(IMessage message,
TransactionContext transaction)
Sends a message to the Azure Service Bus entity this sender is connected to.
|
void |
TopicClient.send(IMessage message,
TransactionContext transaction) |
void |
QueueClient.send(IMessage message,
TransactionContext transaction) |
void |
IMessageSender.sendBatch(Collection<? extends IMessage> messages)
Sends a batch of messages to the Azure Service Bus entity this sender is connected to.
|
void |
TopicClient.sendBatch(Collection<? extends IMessage> messages) |
void |
QueueClient.sendBatch(Collection<? extends IMessage> messages) |
void |
IMessageSender.sendBatch(Collection<? extends IMessage> messages,
TransactionContext transaction)
Sends a batch of messages to the Azure Service Bus entity this sender is connected to.
|
void |
TopicClient.sendBatch(Collection<? extends IMessage> messages,
TransactionContext transaction) |
void |
QueueClient.sendBatch(Collection<? extends IMessage> messages,
TransactionContext transaction) |
void |
SubscriptionClient.setPrefetchCount(int prefetchCount) |
void |
QueueClient.setPrefetchCount(int prefetchCount) |
void |
IMessageReceiver.setPrefetchCount(int prefetchCount)
Set the prefetch count of the receiver.
|
void |
IMessageSession.setState(byte[] state)
Set a custom state on the session which can be later retrieved using
IMessageSession.getState() . |
void |
MessageSession.setState(byte[] sessionState) |
Constructor and Description |
---|
QueueClient(ConnectionStringBuilder amqpConnectionStringBuilder,
ReceiveMode receiveMode) |
QueueClient(String namespace,
String queuePath,
ClientSettings clientSettings,
ReceiveMode receiveMode) |
QueueClient(URI namespaceEndpointURI,
String queuePath,
ClientSettings clientSettings,
ReceiveMode receiveMode) |
SubscriptionClient(ConnectionStringBuilder amqpConnectionStringBuilder,
ReceiveMode receiveMode) |
SubscriptionClient(String namespace,
String subscriptionPath,
ClientSettings clientSettings,
ReceiveMode receiveMode) |
SubscriptionClient(URI namespaceEndpointURI,
String subscriptionPath,
ClientSettings clientSettings,
ReceiveMode receiveMode) |
TopicClient(ConnectionStringBuilder amqpConnectionStringBuilder) |
TopicClient(String namespace,
String topicPath,
ClientSettings clientSettings) |
TopicClient(URI namespaceEndpointURI,
String topicPath,
ClientSettings clientSettings) |
Modifier and Type | Method and Description |
---|---|
QueueDescription |
ManagementClient.createQueue(QueueDescription queueDescription)
Creates a new queue in the service namespace with the given name.
|
QueueDescription |
ManagementClient.createQueue(String queuePath)
Creates a new queue in the service namespace with the given name.
|
RuleDescription |
ManagementClient.createRule(String topicName,
String subscriptionName,
RuleDescription ruleDescription)
Creates a new rule for a given topic - subscription.
|
SubscriptionDescription |
ManagementClient.createSubscription(String topicPath,
String subscriptionName)
Creates a new subscription for a given topic in the service namespace with the given name.
|
SubscriptionDescription |
ManagementClient.createSubscription(SubscriptionDescription subscriptionDescription)
Creates a new subscription in the service namespace with the given name.
|
SubscriptionDescription |
ManagementClient.createSubscription(SubscriptionDescription subscriptionDescription,
RuleDescription defaultRule)
Creates a new subscription in the service namespace with the provided default rule.
|
TopicDescription |
ManagementClient.createTopic(String topicPath)
Creates a new topic in the service namespace with the given name.
|
TopicDescription |
ManagementClient.createTopic(TopicDescription topicDescription)
Creates a new topic in the service namespace with the given name.
|
Void |
ManagementClient.deleteQueue(String path)
Deletes the queue described by the path relative to the service namespace base address.
|
Void |
ManagementClient.deleteRule(String topicPath,
String subscriptionName,
String ruleName)
Deletes the rule for a given topic-subscription.
|
Void |
ManagementClient.deleteSubscription(String topicPath,
String subscriptionName)
Deletes the subscription described by the topicPath and the subscriptionName.
|
Void |
ManagementClient.deleteTopic(String path)
Deletes the topic described by the path relative to the service namespace base address.
|
NamespaceInfo |
ManagementClient.getNamespaceInfo()
Retrieves information related to the namespace.
|
QueueDescription |
ManagementClient.getQueue(String path)
Retrieves a queue from the service namespace
|
QueueRuntimeInfo |
ManagementClient.getQueueRuntimeInfo(String path)
Retrieves the runtime information of a queue.
|
List<QueueDescription> |
ManagementClient.getQueues()
Retrieves the list of queues present in the namespace.
|
List<QueueDescription> |
ManagementClient.getQueues(int count,
int skip)
Retrieves the list of queues present in the namespace.
|
RuleDescription |
ManagementClient.getRule(String topicPath,
String subscriptionName,
String ruleName)
Retrieves a rule for a given topic and subscription from the service namespace
|
List<RuleDescription> |
ManagementClient.getRules(String topicName,
String subscriptionName)
Retrieves the list of rules for a given topic-subscription in the namespace.
|
List<RuleDescription> |
ManagementClient.getRules(String topicName,
String subscriptionName,
int count,
int skip)
Retrieves the list of rules for a given topic-subscription in the namespace.
|
SubscriptionDescription |
ManagementClient.getSubscription(String topicPath,
String subscriptionName)
Retrieves a subscription for a given topic from the service namespace
|
SubscriptionRuntimeInfo |
ManagementClient.getSubscriptionRuntimeInfo(String topicPath,
String subscriptionName)
Retrieves the runtime information of a subscription in a given topic
|
List<SubscriptionDescription> |
ManagementClient.getSubscriptions(String topicName)
Retrieves the list of subscriptions for a given topic in the namespace.
|
List<SubscriptionDescription> |
ManagementClient.getSubscriptions(String topicName,
int count,
int skip)
Retrieves the list of subscriptions for a given topic in the namespace.
|
TopicDescription |
ManagementClient.getTopic(String path)
Retrieves a topic from the service namespace
|
TopicRuntimeInfo |
ManagementClient.getTopicRuntimeInfo(String path)
Retrieves the runtime information of a topic
|
List<TopicDescription> |
ManagementClient.getTopics()
Retrieves the list of topics present in the namespace.
|
List<TopicDescription> |
ManagementClient.getTopics(int count,
int skip)
Retrieves the list of topics present in the namespace.
|
Boolean |
ManagementClient.queueExists(String path)
Checks whether a given queue exists or not.
|
Boolean |
ManagementClient.ruleExists(String topicPath,
String subscriptionName,
String ruleName)
Checks whether a given rule exists or not for a given subscription.
|
Boolean |
ManagementClient.subscriptionExists(String topicPath,
String subscriptionName)
Checks whether a given subscription exists or not.
|
Boolean |
ManagementClient.topicExists(String path)
Checks whether a given topic exists or not.
|
QueueDescription |
ManagementClient.updateQueue(QueueDescription queueDescription)
Updates an existing queue.
|
RuleDescription |
ManagementClient.updateRule(String topicName,
String subscriptionName,
RuleDescription ruleDescription)
Updates an existing rule.
|
SubscriptionDescription |
ManagementClient.updateSubscription(SubscriptionDescription subscriptionDescription)
Updates an existing subscription.
|
TopicDescription |
ManagementClient.updateTopic(TopicDescription topicDescription)
Updates an existing topic.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthorizationFailedException
Authorization failed exception is thrown when error is encountered during authorizing user's permission to run the intended operations.
|
class |
CommunicationException
This exception is thrown when there is a client side connectivity issue.
|
class |
MessageLockLostException
This exception is thrown when a receiver attempts
complete or abandon or renew-lock or deadLetter or defer operation
on a peek-locked message whose lock had already expired. |
class |
MessageNotFoundException
This exception is thrown when a receiver attempts to receive a message with sequence number and the message with that sequence number is not available in the queue or subscription.
|
class |
MessagingEntityAlreadyExistsException
This exception is thrown when a subscription client tries to create a rule with the name of an already existing rule.
|
class |
MessagingEntityDisabledException
This exception is thrown when a client attempts to send messages to or receive messages from a disabled entity.
|
class |
MessagingEntityNotFoundException
This exception is thrown when a client attempts to create a sender or receiver or client to a non existent entity.
|
class |
OperationCancelledException
This exception is thrown when the underlying Amqp layer encounter an abnormal link abort or disconnect of connection in an unexpected fashion.
|
class |
PayloadSizeExceededException
this exception is thrown when user attempts to send a event data or brokered message that has exceeded the
allowed payload size as defined by the service.
|
class |
QuotaExceededException
This exception is thrown to signal that a service bus entity or namespace exceeded its quota.
|
class |
ReceiverDisconnectedException
This exception is thrown when a EventHubReceiver is being disconnected because of one of the
following reason:
user attempts to connect a non-epoch receiver to a event hub partition, when there is an epoch receiver connected to the partition.
|
class |
ServerBusyException
Server busy exception is thrown when the current entity's activity has put excessive load onto the service.
|
class |
SessionCannotBeLockedException
This exception is thrown when a client attempts to accept a session that is already locked by another client.
|
class |
SessionLockLostException
This exception is thrown when a session receiver performs an operation on a session after its lock is expired.
|
class |
TimeoutException
This exception is thrown when the operation has exceeded the predetermined time limit.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientEntity.close() |
static MessagingFactory |
MessagingFactory.createFromNamespaceEndpointURI(URI namespaceEndpointURI,
ClientSettings clientSettings) |
static MessagingFactory |
MessagingFactory.createFromNamespaceName(String sbNamespaceName,
ClientSettings clientSettings) |
void |
MessagingFactory.endTransaction(TransactionContext transaction,
boolean commit)
Ends a transaction that was initiated using
MessagingFactory.startTransactionAsync() . |
void |
CoreMessageReceiver.setPrefetchCount(int value) |
TransactionContext |
MessagingFactory.startTransaction()
Starts a new service side transaction.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.