|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.jms.JmsMethodArgumentsKeyGenerator
public class JmsMethodArgumentsKeyGenerator
A MethodArgumentsKeyGenerator for JMS
| Constructor Summary | |
|---|---|
JmsMethodArgumentsKeyGenerator()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getKey(java.lang.Object[] items)
If the message is a Message then returns the JMS message ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmsMethodArgumentsKeyGenerator()
| Method Detail |
|---|
public java.lang.Object getKey(java.lang.Object[] items)
Message then returns the JMS message ID.
Otherwise just return the first argument.
getKey in interface MethodArgumentsKeyGeneratoritems - the current item.
UnexpectedInputException - if the JMS id cannot be determined from
a JMS Message
java.lang.IllegalArgumentException - if the arguments are emptyMethodArgumentsKeyGenerator.getKey(Object[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||