manager.completeWorkItem(workItem.getId(), null);
}
public void abortWorkItem(WorkItem arg0, WorkItemManager arg1) {
}
});
EmailWorkItemHandler emailWorkItemHandler = new EmailWorkItemHandler();
emailWorkItemHandler.setConnection("mail-out.example.com", "25", null, null);
session.getWorkItemManager().registerWorkItemHandler("Email", emailWorkItemHandler);
TransformWorkItemHandler transformWorkItemHandler = new TransformWorkItemHandler();
transformWorkItemHandler.registerTransformer(FileTransformer.class);
session.getWorkItemManager().registerWorkItemHandler("Transform", transformWorkItemHandler);
WorkingMemoryFileLogger logger = new WorkingMemoryFileLogger(session);