| Package | Description |
|---|---|
| com.microsoft.windowsazure.services.servicebus |
This package contains the service bus service class,
interface, and associated configuration and utility classes.
|
| com.microsoft.windowsazure.services.servicebus.models |
This package contains the service bus data transfer object
classes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceBusContract.deleteMessage(BrokeredMessage message)
Deletes a message.
|
void |
ServiceBusContract.sendMessage(String path,
BrokeredMessage message)
Sends a message.
|
void |
ServiceBusContract.sendQueueMessage(String queuePath,
BrokeredMessage message)
Sends a queue message.
|
void |
ServiceBusContract.sendTopicMessage(String topicPath,
BrokeredMessage message)
Sends a topic message.
|
void |
ServiceBusContract.unlockMessage(BrokeredMessage message)
Unlocks a message.
|
| Modifier and Type | Method and Description |
|---|---|
BrokeredMessage |
ReceiveSubscriptionMessageResult.getValue()
Returns the value of the result.
|
BrokeredMessage |
ReceiveQueueMessageResult.getValue()
Returns the value of the result.
|
BrokeredMessage |
ReceiveMessageResult.getValue()
Returns the value of the result.
|
BrokeredMessage |
BrokeredMessage.setBody(InputStream body)
Specifies the body of the message.
|
BrokeredMessage |
BrokeredMessage.setContentType(String contentType)
Sets the content type of the message.
|
BrokeredMessage |
BrokeredMessage.setCorrelationId(String correlationId)
Sets the correlation ID.
|
BrokeredMessage |
BrokeredMessage.setDate(Date date)
Sets the date/time of the message.
|
BrokeredMessage |
BrokeredMessage.setLabel(String label)
Sets the label of the message.
|
BrokeredMessage |
BrokeredMessage.setMessageId(String messageId)
Sets the message ID.
|
BrokeredMessage |
BrokeredMessage.setProperty(String name,
Object value)
Sets a user defined property of the message.
|
BrokeredMessage |
BrokeredMessage.setReplyTo(String replyTo)
Sets the Reply-To recipient for the message.
|
BrokeredMessage |
BrokeredMessage.setReplyToSessionId(String replyToSessionId)
Sets the session ID of the Reply To recipient.
|
BrokeredMessage |
BrokeredMessage.setScheduledEnqueueTimeUtc(Date scheduledEnqueueTimeUtc)
Sets the scheduled enqueue time.
|
BrokeredMessage |
BrokeredMessage.setSessionId(String sessionId)
Sets the session ID for the message.
|
BrokeredMessage |
BrokeredMessage.setTimeToLive(Double timeToLive)
Sets the time-to-live for the message.
|
BrokeredMessage |
BrokeredMessage.setTo(String to)
Sets the To recipient of the message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReceiveSubscriptionMessageResult.setValue(BrokeredMessage value)
Specifies the value of the result.
|
void |
ReceiveQueueMessageResult.setValue(BrokeredMessage value)
Specifies the value of the result.
|
void |
ReceiveMessageResult.setValue(BrokeredMessage value)
Specifies the value of the result.
|
| Constructor and Description |
|---|
ReceiveMessageResult(BrokeredMessage value)
Creates an instance of the
ReceiveQueueMessageResult class. |
ReceiveQueueMessageResult(BrokeredMessage value)
Creates an instance of the
ReceiveQueueMessageResult class. |
ReceiveSubscriptionMessageResult(BrokeredMessage value)
Creates an instance of the
ReceiveSubscriptionMessageResult
class. |
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/