Annotation Interface QueuePublisher


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface QueuePublisher
Declares a method of an ordinary producer interface implemented by a trusted host resource binding. Supported producers take a stable String identity and one data payload and return a confirmed queue sequence as long. A timeout is UNKNOWN, not acknowledgment. This is not a JDBC outbox or an automatic transaction with application effects. Metadata alone installs no backend capability.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Selects a host-authorized destination FIFO queue.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Selects a finite trusted host publication profile.
    int
    Returns positive logical publication contract version.
  • Element Details

    • queue

      String queue
      Selects a host-authorized destination FIFO queue.
      Returns:
      logical queue name
    • policy

      String policy
      Selects a finite trusted host publication profile.
      Returns:
      policy identity
      Default:
      "default"
    • version

      int version
      Returns positive logical publication contract version.
      Returns:
      contract version
      Default:
      1