Annotation Interface DurableQueueConsumer


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface DurableQueueConsumer
Declares a method as a durable queue consumer handler.

A generated hosted descriptor and an explicitly installed trusted host adapter implement the behavior. Plain Java calls and annotation presence alone do not create a consumer. ACK follows actual physical handler/policy completion; external UNKNOWN is never proof of rollback.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the queue name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Selects a trusted host queue profile; metadata never grants its authority.
    Returns the stable logical handler identity; empty selects the generated declaring-type/method identity.
    int
    Returns the positive logical handler contract version, independent of bundle deployment.
  • Element Details

    • queue

      String queue
      Returns the queue name.
      Returns:
      logical queue name
    • value

      String value
      Returns the stable logical handler identity; empty selects the generated declaring-type/method identity.
      Returns:
      explicit handler identity or empty
      Default:
      ""
    • policy

      String policy
      Selects a trusted host queue profile; metadata never grants its authority.
      Returns:
      finite host profile name
      Default:
      "default"
    • version

      int version
      Returns the positive logical handler contract version, independent of bundle deployment.
      Returns:
      handler version
      Default:
      1