Annotation Interface EventsSubscribedTo


@Retention(RUNTIME) @Target(METHOD) public @interface EventsSubscribedTo
This annotation specifies that this particular method subscribes to an event. This can be a local or global event. Local events are executed in the same JVM and are directly invoked using EventProcessor

Remote events are triggered by Chenile Pub Sub group of modules. This requires a dependency on chenile-kafka or other modules. Global events create local events at the transport end point

For example, an event such as a message arriving at a queue or topic can translate into Chenile event.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details