Annotation Type Outbound


  • @Retention(RUNTIME)
    @Qualifier
    @Target({METHOD,FIELD,PARAMETER})
    public @interface Outbound
    Annotation to be applied to a CDI event @Inject point to send it remotely via CDI event bus. Such events can be observed using the Inbound qualifier.
    Author:
    steve
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String eventName
      Provides a further level of filtering.
      String[] instanceName
      Property to restrict the outbound event to specific named server or micro instances.
      boolean loopBack
      Property to set whether the message should also fire on the same instance as well default is false it won't be fired as an Inbound message on the same instance
    • Element Detail

      • eventName

        String eventName
        Provides a further level of filtering. Specify an eventname to restrict event callbacks to events with the specific name
        Returns:
        Default:
        ""
      • loopBack

        boolean loopBack
        Property to set whether the message should also fire on the same instance as well default is false it won't be fired as an Inbound message on the same instance
        Returns:
        Default:
        false
      • instanceName

        String[] instanceName
        Property to restrict the outbound event to specific named server or micro instances. Default behavior is to fire on all server and micro instances. Set one or more instance names to restrict the event to firing only on the specified instances.
        Returns:
        Default:
        {""}