Annotation 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 -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSelects a trusted host queue profile; metadata never grants its authority.Returns the stable logical handler identity; empty selects the generated declaring-type/method identity.intReturns the positive logical handler contract version, independent of bundle deployment.
-
Element Details
-
queue
-
value
String valueReturns the stable logical handler identity; empty selects the generated declaring-type/method identity.- Returns:
- explicit handler identity or empty
- Default:
""
-
policy
String policySelects a trusted host queue profile; metadata never grants its authority.- Returns:
- finite host profile name
- Default:
"default"
-
version
int versionReturns the positive logical handler contract version, independent of bundle deployment.- Returns:
- handler version
- Default:
1
-