public class JmsNewMethodArgumentsIdentifier<T>
extends java.lang.Object
implements org.springframework.retry.interceptor.NewMethodArgumentsIdentifier
NewMethodArgumentsIdentifier
for JMS that looks for a message in
the arguments and checks its delivery status.Constructor and Description |
---|
JmsNewMethodArgumentsIdentifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
isNew(java.lang.Object[] args)
If any of the arguments is a message, check the JMS re-delivered flag and
return it, otherwise return false to be on the safe side.
|
public boolean isNew(java.lang.Object[] args)
isNew
in interface org.springframework.retry.interceptor.NewMethodArgumentsIdentifier
NewMethodArgumentsIdentifier.isNew(java.lang.Object[])