Package sdk

Class Messaging

java.lang.Object
sdk.Messaging

public class Messaging
extends Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Messaging​(ODSL odsl)  
  • Method Summary

    Modifier and Type Method Description
    void peekLock​(String queue, Consumer<com.azure.messaging.servicebus.ServiceBusReceivedMessageContext> messageProcessor, Consumer<com.azure.messaging.servicebus.ServiceBusErrorContext> errorProcessor)  
    com.azure.messaging.servicebus.ServiceBusReceivedMessage peekMessage​(String queue)  
    void receiveAndDelete​(String queue, Consumer<com.azure.messaging.servicebus.ServiceBusReceivedMessageContext> messageProcessor, Consumer<com.azure.messaging.servicebus.ServiceBusErrorContext> errorProcessor)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • peekMessage

      public com.azure.messaging.servicebus.ServiceBusReceivedMessage peekMessage​(String queue)
    • peekLock

      public void peekLock​(String queue, Consumer<com.azure.messaging.servicebus.ServiceBusReceivedMessageContext> messageProcessor, Consumer<com.azure.messaging.servicebus.ServiceBusErrorContext> errorProcessor)
    • receiveAndDelete

      public void receiveAndDelete​(String queue, Consumer<com.azure.messaging.servicebus.ServiceBusReceivedMessageContext> messageProcessor, Consumer<com.azure.messaging.servicebus.ServiceBusErrorContext> errorProcessor)