public static class SequenceNumberParameterResolverFactory.SequenceNumberParameterResolver extends Object implements ParameterResolver<Long>
Constructor and Description |
---|
SequenceNumberParameterResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Message message)
Indicates whether this resolver is capable of providing a value for the given
message . |
Long |
resolveParameterValue(Message message)
Resolves the parameter value to use for the given
message , or null if no suitable
parameter value can be resolved. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportedPayloadType
public Long resolveParameterValue(Message message)
ParameterResolver
message
, or null
if no suitable
parameter value can be resolved.resolveParameterValue
in interface ParameterResolver<Long>
message
- The message to resolve the value frompublic boolean matches(Message message)
ParameterResolver
message
.matches
in interface ParameterResolver<Long>
message
- The message to evaluatetrue
if this resolver can provide a value for the message, otherwise false
Copyright © 2010–2024. All rights reserved.