@ProviderType public interface ReplicationGroupMessageId extends ReplayStartLocation
ReplicationGroupMessageId
specifies a Replication Group Message ID as a replay start location.
ReplicationGroupMessageId is the interface applications may use to access a ReplicationGroupMessageId which
cannot be instantiated. This interface is not implementable on applications' objects. A ReplicationGroupMessageId can only
be created by JCSMPFactory.createReplicationGroupMessageId
method,
or retrieved from an XMLMessage.getReplicationGroupMessageId
method.
Use this object's toString method to obtain a string that can be subsequently passed to
the JCSMPFactory.createReplicationGroupMessageId
method.
Modifier and Type | Method and Description |
---|---|
int |
compare(ReplicationGroupMessageId id)
Compare with the other ReplicationGroupMessageId
|
String |
toString()
Get ReplicationGroupMessageId in string format
|
int compare(ReplicationGroupMessageId id) throws JCSMPNotComparableException
id
- The other ReplicationGroupMessageIdJCSMPNotComparableException
- if the two ReplicationGroupMessageId are not comparable. ReplicationGroupMessageId cannot
be compared because the messages identified were not published to the same broker or HA pair.
NullPointerException
when id is nullCopyright 2004-2024 Solace Corporation. All rights reserved.