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.
Called whenever a processor is added or removed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocessorAdded(String name, com.azure.messaging.servicebus.ServiceBusProcessorClient client) The callback method that the processor has been added.default voidprocessorRemoved(String name, com.azure.messaging.servicebus.ServiceBusProcessorClient client) The default callback method that the processor has been removed.
-
Method Details
-
processorAdded
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.
-