org.apache.camel.processor.idempotent.jpa
Class JpaMessageIdRepository
java.lang.Object
org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository
- All Implemented Interfaces:
- IdempotentRepository<String>
public class JpaMessageIdRepository
- extends Object
- implements IdempotentRepository<String>
- Version:
- $Revision: 782534 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUERY_STRING
protected static final String QUERY_STRING
JpaMessageIdRepository
public JpaMessageIdRepository(JpaTemplate template,
String processorName)
JpaMessageIdRepository
public JpaMessageIdRepository(JpaTemplate template,
TransactionTemplate transactionTemplate,
String processorName)
jpaMessageIdRepository
public static JpaMessageIdRepository jpaMessageIdRepository(String persistenceUnit,
String processorName)
jpaMessageIdRepository
public static JpaMessageIdRepository jpaMessageIdRepository(JpaTemplate jpaTemplate,
String processorName)
add
public boolean add(String messageId)
- Specified by:
add in interface IdempotentRepository<String>
contains
public boolean contains(String messageId)
- Specified by:
contains in interface IdempotentRepository<String>
remove
public boolean remove(String messageId)
- Specified by:
remove in interface IdempotentRepository<String>
confirm
public boolean confirm(String s)
- Specified by:
confirm in interface IdempotentRepository<String>
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.