org.apache.camel.bam.processor
Class JpaBamProcessor
java.lang.Object
org.apache.camel.bam.processor.BamProcessorSupport<T>
org.apache.camel.bam.processor.JpaBamProcessorSupport<ProcessInstance>
org.apache.camel.bam.processor.JpaBamProcessor
- All Implemented Interfaces:
- org.apache.camel.Processor
public class JpaBamProcessor
- extends JpaBamProcessorSupport<ProcessInstance>
A concrete Processor
for working on BAM which uses JPA as
the persistence and uses the ProcessInstance
entity to store the
process information.
- Version:
Constructor Summary |
JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
javax.persistence.EntityManagerFactory entityManagerFactory,
org.apache.camel.Expression correlationKeyExpression,
ActivityRules activityRules)
|
JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
javax.persistence.EntityManagerFactory entityManagerFactory,
org.apache.camel.Expression correlationKeyExpression,
ActivityRules activityRules,
Class<ProcessInstance> entitytype)
|
Methods inherited from class org.apache.camel.bam.processor.JpaBamProcessorSupport |
createEntity, createFindByKeyQuery, findEntityByCorrelationKey, getActivityRules, getEntityManagerFactory, getFindByKeyQuery, getKeyPropertyName, getKeyType, isCorrelationKeyIsPrimary, loadEntity, setActivityRules, setCorrelationKeyIsPrimary, setEntityManagerFactory, setFindByKeyQuery, setKeyProperty, setKeyPropertyName, setProcessDefinitionProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JpaBamProcessor
public JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
javax.persistence.EntityManagerFactory entityManagerFactory,
org.apache.camel.Expression correlationKeyExpression,
ActivityRules activityRules)
JpaBamProcessor
public JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
javax.persistence.EntityManagerFactory entityManagerFactory,
org.apache.camel.Expression correlationKeyExpression,
ActivityRules activityRules,
Class<ProcessInstance> entitytype)
processEntity
protected void processEntity(org.apache.camel.Exchange exchange,
ProcessInstance process)
throws Exception
- Overrides:
processEntity
in class JpaBamProcessorSupport<ProcessInstance>
- Throws:
Exception
Apache Camel