@ProviderType public static interface InboundMessage.ReplicationGroupMessageId extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
compare(InboundMessage.ReplicationGroupMessageId replicationGroupMessageId)
Attempts to compare a given instance of
ReplicationGroupMessageId with an another
instance for order. |
static InboundMessage.ReplicationGroupMessageId |
of(String replicationGroupMessageIdString)
A factory method to create instances of a
InboundMessage.ReplicationGroupMessageId from a specified
string. |
String |
toString()
Returns a string representation of the Replication Group Message identifier.
|
int compare(InboundMessage.ReplicationGroupMessageId replicationGroupMessageId) throws IllegalArgumentException
ReplicationGroupMessageId
with an another
instance for order.replicationGroupMessageId
- to compare current instance withIllegalArgumentException
- if the both replication group message IDs can't be compared,
i.e when corresponding messages were not published to the
same broker or HA pair.NullPointerException
- when another replicationGroupMessageId
to compare to
is null
static InboundMessage.ReplicationGroupMessageId of(String replicationGroupMessageIdString) throws IllegalArgumentException
InboundMessage.ReplicationGroupMessageId
from a specified
string.
This method can be used to create instances of ReplicationGroupMessageId
for
message replay configuration.
replicationGroupMessageIdString
- the sting identifier associated with Replication Group
Message ID previously returned from InboundMessage.ReplicationGroupMessageId.toString()
method.InboundMessage.ReplicationGroupMessageId
object corresponding to a string argumentIllegalArgumentException
- if string argument is empty or was changed after it was
returned form InboundMessage.ReplicationGroupMessageId.toString()
previouslyNullPointerException
- if string argument is null
String toString()
Returned String identifier can be used for administratively triggered message replay via SEMP or CLI interface
Copyright 2019-2024 Solace Corporation. All rights reserved.