Annotation Type Subscription


@Target(METHOD)
@Retention(RUNTIME)
@Documented
public @interface Subscription

For server-side services, identifies callback methods that are invoked when a message is processed on local-side.

For client-side services, identifies callback methods that are invoked with the same semantic of ClientSessionChannel.subscribe(ClientSessionChannel.MessageListener).

See Also:
Listener
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    String[] value  
  • Element Details

    • value

      String[] value
      Returns:
      the list of channels to which the callback method subscribes to