Package | Description |
---|---|
com.azure.messaging.servicebus |
Package containing classes for creating
ServiceBusSenderAsyncClient ,
ServiceBusProcessorClient , and
ServiceBusReceiverAsyncClient to perform operations on Azure Service Bus. |
Modifier and Type | Method and Description |
---|---|
ServiceBusMessage |
ServiceBusMessage.addContext(String key,
Object value)
Adds a new key value pair to the existing context on Message.
|
ServiceBusMessage |
ServiceBusMessage.setContentType(String contentType)
Sets the content type of the
ServiceBusMessage . |
ServiceBusMessage |
ServiceBusMessage.setCorrelationId(String correlationId)
Sets a correlation identifier.
|
ServiceBusMessage |
ServiceBusMessage.setMessageId(String messageId)
Sets the message id.
|
ServiceBusMessage |
ServiceBusMessage.setPartitionKey(String partitionKey)
Sets a partition key for sending a message to a partitioned entity
|
ServiceBusMessage |
ServiceBusMessage.setReplyTo(String replyTo)
Sets the address of an entity to send replies to.
|
ServiceBusMessage |
ServiceBusMessage.setReplyToSessionId(String replyToSessionId)
Gets or sets a session identifier augmenting the
ReplyTo address. |
ServiceBusMessage |
ServiceBusMessage.setScheduledEnqueueTime(OffsetDateTime scheduledEnqueueTime)
Sets the scheduled enqueue time of this message.
|
ServiceBusMessage |
ServiceBusMessage.setSessionId(String sessionId)
Sets the session identifier for a session-aware entity.
|
ServiceBusMessage |
ServiceBusMessage.setSubject(String subject)
Sets the subject for the message.
|
ServiceBusMessage |
ServiceBusMessage.setTimeToLive(Duration timeToLive)
Sets the duration of time before this message expires.
|
ServiceBusMessage |
ServiceBusMessage.setTo(String to)
Sets the "to" address.
|
Modifier and Type | Method and Description |
---|---|
Mono<Long> |
ServiceBusSenderAsyncClient.scheduleMessage(ServiceBusMessage message,
OffsetDateTime scheduledEnqueueTime)
Sends a scheduled message to the Azure Service Bus entity this sender is connected to.
|
Long |
ServiceBusSenderClient.scheduleMessage(ServiceBusMessage message,
OffsetDateTime scheduledEnqueueTime)
Sends a scheduled message to the Azure Service Bus entity this sender is connected to.
|
Mono<Long> |
ServiceBusSenderAsyncClient.scheduleMessage(ServiceBusMessage message,
OffsetDateTime scheduledEnqueueTime,
ServiceBusTransactionContext transactionContext)
Sends a scheduled message to the Azure Service Bus entity this sender is connected to.
|
Long |
ServiceBusSenderClient.scheduleMessage(ServiceBusMessage message,
OffsetDateTime scheduledEnqueueTime,
ServiceBusTransactionContext transactionContext)
Sends a scheduled message to the Azure Service Bus entity this sender is connected to.
|
Mono<Void> |
ServiceBusSenderAsyncClient.sendMessage(ServiceBusMessage message)
Sends a message to a Service Bus queue or topic.
|
void |
ServiceBusSenderClient.sendMessage(ServiceBusMessage message)
Sends a message to a Service Bus queue or topic.
|
Mono<Void> |
ServiceBusSenderAsyncClient.sendMessage(ServiceBusMessage message,
ServiceBusTransactionContext transactionContext)
Sends a message to a Service Bus queue or topic.
|
void |
ServiceBusSenderClient.sendMessage(ServiceBusMessage message,
ServiceBusTransactionContext transactionContext)
Sends a message to a Service Bus queue or topic.
|
boolean |
ServiceBusMessageBatch.tryAddMessage(ServiceBusMessage serviceBusMessage)
Tries to add an
message to the batch. |
Copyright © 2021 Microsoft Corporation. All rights reserved.