ralscha / sse-eventbus

EventBus library for sending events from a Spring appliction to the web browser with SSE
Apache License 2.0
82 stars 28 forks source link

Impossible to trace the events really published #14

Closed ajnfde closed 4 years ago

ajnfde commented 4 years ago

I have got the sse-eventbus 1.1.8 jar version.

I implemented the SseEventBusListener interface. I overrided the afterEventQueued and afterEventSent methods. I added the @EnableSseEventBus annotation with @SpringBootApplication annotation.

I have an angular client to subscribe to the events. In my brower I can see the events sent by the server but on server side, the afterEventQueued and afterEventSent methods are never called.

Is there any configuration I missed ?

I solved my problem. I had an old SseEventBusConfigurer implementation which has overrided the new.