Skip to content

Commit

Permalink
documentation(#1230): add topic purging
Browse files Browse the repository at this point in the history
  • Loading branch information
louisa-fr authored and christophd committed Feb 3, 2025
1 parent 644e161 commit ad18cf7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/manual/endpoint-jms.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,13 @@ In addition to that you need to add a client id on the connection factory so the
subscription with the client address. Also we use the `SingleConnectionFactory` implementation of Spring as a connection factory
wrapper so we do not fail because of multiple connections with the same durable subscriber id.
[[jms-topic-purging]]
== JMS topic purging
As mentioned earlier, auto-start topic subscribers consume all messages sent to the topic during the test run,
while durable subscribers even consume messages sent outside the test run and store them immediately in an internal cache.
To ensure the test starts with a clean internal cache, it is necessary to purge it before the test begins.
The purge-process and underlying concepts are explained in detail in the section: link:#actions-purging-endpoints[Purging Endpoints].
[[jms-message-headers]]
== JMS message headers
Expand Down

0 comments on commit ad18cf7

Please sign in to comment.