Annotation Interface Channel


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface Channel
Marks a class as a channel adapter implementation. Used by the registry for discovery and metadata extraction.

 @Channel(id = "telegram", displayName = "Telegram")
 public class TelegramAdapter implements ChannelAdapter { ... }
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Unique channel identifier (e.g.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Human-readable name shown in logs and UI.
  • Element Details

    • id

      String id
      Unique channel identifier (e.g. "telegram", "discord").
    • displayName

      String displayName
      Human-readable name shown in logs and UI.
      Default:
      ""