Package com.alibaba.spring.boot.rsocket
Class CloudEventToListenerConsumer
- java.lang.Object
-
- com.alibaba.spring.boot.rsocket.CloudEventToListenerConsumer
-
- All Implemented Interfaces:
CloudEventsConsumer
public class CloudEventToListenerConsumer extends Object implements CloudEventsConsumer
CloudEvent to @EventListener handler- Author:
- leijuan
-
-
Constructor Summary
Constructors Constructor Description CloudEventToListenerConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Void>accept(CloudEventImpl<?> cloudEvent)booleanshouldAccept(CloudEventImpl<?> cloudEvent)
-
-
-
Method Detail
-
shouldAccept
public boolean shouldAccept(CloudEventImpl<?> cloudEvent)
- Specified by:
shouldAcceptin interfaceCloudEventsConsumer
-
accept
public reactor.core.publisher.Mono<Void> accept(CloudEventImpl<?> cloudEvent)
- Specified by:
acceptin interfaceCloudEventsConsumer
-
-