Skip to content
Snippets Groups Projects
Commit 68fe833b authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-6240 Remove close from docstring

parent a845f560
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,8 @@ import jakarta.validation.constraints.NotBlank;
import de.ozgcloud.xta.client.config.XtaClientConfig;
import de.ozgcloud.xta.client.core.WrappedXtaService;
import de.ozgcloud.xta.client.model.XtaIdentifier;
import de.ozgcloud.xta.client.model.XtaMessageMetaDataListing;
import de.ozgcloud.xta.client.model.XtaMessageAndTransportReport;
import de.ozgcloud.xta.client.model.XtaMessageMetaDataListing;
import genv3.de.xoev.transport.xta.x211.InvalidMessageIDException;
import genv3.de.xoev.transport.xta.x211.PermissionDeniedException;
import genv3.de.xoev.transport.xta.x211.XTAWSTechnicalProblemException;
......@@ -25,9 +25,8 @@ public class XtaClient {
/**
* Fetch metadata of pending messages sent to the {@code xtaIdentifier}. The returned listing contains at most
* {@link de.ozgcloud.xta.client.config.XtaClientConfig#getMaxListItems() maxListItems} messages. Use the {@code requestId} to
* {@link #close(String, String) close} pending messages. To fetch the next messages, use {@link #getNextMessagesMetadata(String)}. Note that
* {@code xtaIdentifier} has to be configured as a
* {@link de.ozgcloud.xta.client.config.XtaClientConfig#getMaxListItems() maxListItems} messages. To fetch the next messages, use
* {@link #getNextMessagesMetadata(String)}. Note that {@code xtaIdentifier} has to be configured as a
* {@link de.ozgcloud.xta.client.config.XtaClientConfig#getClientIdentifiers() clientIdentifiers}.
*
* @param clientIdentifier the client identifier value to fetch messages for
......@@ -54,8 +53,9 @@ public class XtaClient {
}
/**
* Fetch the message content, close the message, and then fetch the transport report
* for the given {@code messageId} and reader identifier {@code clientIdentifier}.
* Fetch the message content, close the message, and then fetch the transport report for the given {@code messageId} and reader identifier
* {@code clientIdentifier}.
*
* @param clientIdentifier Identifier of the reading client
* @param messageId Identifier of the message to fetch
* @return The message and transport report
......@@ -74,7 +74,6 @@ public class XtaClient {
.build();
}
XtaIdentifier deriveIdentifier(String xtaIdentifier) {
return config.getClientIdentifiers().stream()
.filter(id -> id.value().equals(xtaIdentifier))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment