shashank created CAMEL-26957:
--------------------------------

             Summary: camel-nats - a DST fake world for the NATS (JetStream) 
consumer
                 Key: CAMEL-26957
                 URL: https://issues.apache.org/jira/browse/CAMEL-26957
             Project: Camel
          Issue Type: Improvement
          Components: camel-test, camel-nats
            Reporter: shashank
            Assignee: shashank


Part of CAMEL-26610 (tier 3). A fake world for the {{camel-nats}} consumer, 
following "Writing a fake world" in {{test-dst.adoc}}, with the Pulsar world as 
the template.

h3. What the world drives
* JetStream pull and push consumers with acks, naks and redelivery.
* Stop while the consumer subscribes, a flush that fails during stop, a pull 
subscription made again while stopping.
* A server restart and reconnect.

h3. Self-check
Candidates: CAMEL-26462 (a consumer that stops while its task subscribes keeps 
its dispatcher), CAMEL-25847 (a JetStream push consumer on a shared connection 
was not unsubscribed), CAMEL-26884 (the stop ended early when the flush failed).

The fake follows the documentation of the external system, cited in the code. 
Per CAMEL-26610, the world must reproduce at least one fixed bug on the code 
from before its fix and pass on main. Marked with {{@DstWorld}} so the catalog 
and the component page list it.

_Filed with Claude Code on behalf of allthingssecurity._



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to