public class JmsMethodArgumentsKeyGenerator extends Object implements org.springframework.retry.interceptor.MethodArgumentsKeyGenerator
MethodArgumentsKeyGenerator
for JMSConstructor and Description |
---|
JmsMethodArgumentsKeyGenerator() |
public Object getKey(Object[] items)
Message
then returns the JMS message ID.
Otherwise just return the first argument.getKey
in interface org.springframework.retry.interceptor.MethodArgumentsKeyGenerator
UnexpectedInputException
- if the JMS id cannot be determined from
a JMS MessageIllegalArgumentException
- if the arguments are emptyMethodArgumentsKeyGenerator.getKey(Object[])
Copyright © 2014 Pivotal. All rights reserved.