public class JpaBamProcessor extends JpaBamProcessorSupport<ProcessInstance>
Processor
for working on BAM which uses JPA as
the persistence and uses the ProcessInstance
entity to store the
process information.Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
processEntity(org.apache.camel.Exchange exchange,
ProcessInstance process) |
createEntity, createFindByKeyQuery, findEntityByCorrelationKey, getActivityRules, getEntityManagerFactory, getFindByKeyQuery, getKeyPropertyName, getKeyType, isCorrelationKeyIsPrimary, loadEntity, setActivityRules, setCorrelationKeyIsPrimary, setEntityManagerFactory, setFindByKeyQuery, setKeyProperty, setKeyPropertyName, setProcessDefinitionProperty
getCorrelationKey, getCorrelationKeyExpression, getEntityType, onError, process
public JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate, javax.persistence.EntityManagerFactory entityManagerFactory, org.apache.camel.Expression correlationKeyExpression, ActivityRules activityRules)
public JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate, javax.persistence.EntityManagerFactory entityManagerFactory, org.apache.camel.Expression correlationKeyExpression, ActivityRules activityRules, Class<ProcessInstance> entitytype)
protected void processEntity(org.apache.camel.Exchange exchange, ProcessInstance process) throws Exception
processEntity
in class JpaBamProcessorSupport<ProcessInstance>
Exception
Apache Camel