Annotation Interface Destination


@Retention(RUNTIME) @Target(TYPE) public @interface Destination
Used to specify the default destination a message will be sent to. It should be applied to a class also implementing the Message interface. It is required when sendig a message using MessagingService.sendMessage(Message).

This can be overridden if MessagingService.sendMessage(Message, String) is used to specify a different destination.

Since:
GDA 9.12
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details