Search in sources :

Example 11 with MessageEntity

use of org.camunda.bpm.engine.impl.persistence.entity.MessageEntity in project camunda-bpm-platform by camunda.

the class JobExecutorCmdExceptionTest method createMessage.

protected MessageEntity createMessage(String handlerType) {
    MessageEntity message = new MessageEntity();
    message.setJobHandlerType(handlerType);
    return message;
}
Also used : MessageEntity(org.camunda.bpm.engine.impl.persistence.entity.MessageEntity)

Example 12 with MessageEntity

use of org.camunda.bpm.engine.impl.persistence.entity.MessageEntity in project camunda-bpm-platform by camunda.

the class JobExecutorTestCase method createTweetMessage.

protected MessageEntity createTweetMessage(String msg) {
    MessageEntity message = new MessageEntity();
    message.setJobHandlerType("tweet");
    message.setJobHandlerConfigurationRaw(msg);
    return message;
}
Also used : MessageEntity(org.camunda.bpm.engine.impl.persistence.entity.MessageEntity)

Aggregations

MessageEntity (org.camunda.bpm.engine.impl.persistence.entity.MessageEntity)12 CommandContext (org.camunda.bpm.engine.impl.interceptor.CommandContext)5 CommandExecutor (org.camunda.bpm.engine.impl.interceptor.CommandExecutor)4 JobEntity (org.camunda.bpm.engine.impl.persistence.entity.JobEntity)3 AcquiredJobs (org.camunda.bpm.engine.impl.jobexecutor.AcquiredJobs)2 JobManager (org.camunda.bpm.engine.impl.persistence.entity.JobManager)2 Deployment (org.camunda.bpm.engine.test.Deployment)2 ArrayList (java.util.ArrayList)1 Calendar (java.util.Calendar)1 Date (java.util.Date)1 List (java.util.List)1 AcquireJobsCmd (org.camunda.bpm.engine.impl.cmd.AcquireJobsCmd)1 DeleteJobsCmd (org.camunda.bpm.engine.impl.cmd.DeleteJobsCmd)1 Command (org.camunda.bpm.engine.impl.interceptor.Command)1 JobExecutor (org.camunda.bpm.engine.impl.jobexecutor.JobExecutor)1 ProcessDefinitionEntity (org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity)1 JobDefinition (org.camunda.bpm.engine.management.JobDefinition)1 Execution (org.camunda.bpm.engine.runtime.Execution)1 Job (org.camunda.bpm.engine.runtime.Job)1