Interface ServiceBusProcessorFactory.Listener

Enclosing interface:
ServiceBusProcessorFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ServiceBusProcessorFactory.Listener
Called whenever a processor is added or removed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processorAdded(String name, com.azure.messaging.servicebus.ServiceBusProcessorClient client)
    The callback method that the processor has been added.
    default void
    processorRemoved(String name, com.azure.messaging.servicebus.ServiceBusProcessorClient client)
    The default callback method that the processor has been removed.
  • Method Details

    • processorAdded

      void processorAdded(String name, com.azure.messaging.servicebus.ServiceBusProcessorClient client)
      The callback method that the processor has been added.
      Parameters:
      name - the name for the processor.
      client - the client for the processor.
    • processorRemoved

      default void processorRemoved(String name, com.azure.messaging.servicebus.ServiceBusProcessorClient client)
      The default callback method that the processor has been removed.
      Parameters:
      name - the name for the processor.
      client - the client for the processor.