ServiceBusReceivedMessageContext Class

Definition

The Service Bus processor message context that holds a received message and additional methods to settle the message.

public final class ServiceBusReceivedMessageContext
Inheritance
java.lang.Object
ServiceBusReceivedMessageContext

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Methods

abandon()

Abandons the getMessage() in this context.

abandon(AbandonOptions options)

Abandons the getMessage() in this context.

complete()

Completes the getMessage() in this context.

complete(CompleteOptions options)

Completes the getMessage() in this context.

deadLetter()

Dead-letters the getMessage() in this context.

deadLetter(DeadLetterOptions options)

Dead-letters the getMessage() in this context.

defer()

Defers the getMessage() in this context.

defer(DeferOptions options)

Defers the getMessage() in this context.

getMessage()

Gets the message received from Service Bus.

Applies to