Package org.springframework.cloud.bus
Class BusConsumer
- java.lang.Object
-
- org.springframework.cloud.bus.BusConsumer
-
- All Implemented Interfaces:
Consumer<RemoteApplicationEvent>
public class BusConsumer extends Object implements Consumer<RemoteApplicationEvent>
-
-
Constructor Summary
Constructors Constructor Description BusConsumer(org.springframework.context.ApplicationEventPublisher publisher, ServiceMatcher serviceMatcher, org.springframework.beans.factory.ObjectProvider<BusBridge> busBridge, BusProperties properties, Destination.Factory destinationFactory)
-
-
-
Constructor Detail
-
BusConsumer
public BusConsumer(org.springframework.context.ApplicationEventPublisher publisher, ServiceMatcher serviceMatcher, org.springframework.beans.factory.ObjectProvider<BusBridge> busBridge, BusProperties properties, Destination.Factory destinationFactory)
-
-
Method Detail
-
accept
public void accept(RemoteApplicationEvent event)
- Specified by:
accept
in interfaceConsumer<RemoteApplicationEvent>
-
-