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

OZG-6240 Remove close from docstring

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