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,
org.springframework.orm.jpa.JpaTemplate template,
org.apache.camel.Expression correlationKeyExpression,
ActivityRules activityRules) |
JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
org.springframework.orm.jpa.JpaTemplate template,
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, getFindByKeyQuery, getKeyPropertyName, getKeyType, getTemplate, isCorrelationKeyIsPrimary, loadEntity, setActivityRules, setCorrelationKeyIsPrimary, setFindByKeyQuery, setKeyProperty, setKeyPropertyName, setProcessDefinitionProperty, setTemplategetCorrelationKey, getCorrelationKeyExpression, getEntityType, onError, processpublic JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
org.springframework.orm.jpa.JpaTemplate template,
org.apache.camel.Expression correlationKeyExpression,
ActivityRules activityRules)
public JpaBamProcessor(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
org.springframework.orm.jpa.JpaTemplate template,
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>ExceptionApache Camel