Hi
Thought it would make sense to show some code:
Properties prop = new Properties();
...
prop.put("drools.workItemManagerFactory", CustomJPAWorkItemManagerFactory.class.getName());
KnowledgeSessionConfiguration config = KnowledgeBaseFa ctory.newKnowledgeSessionConfiguration(prop);
JPAKnowledgeService.newStatefulKnowledgeSession(..,config,..);
The default JPAWorkItemManager factory is picked up every time. This is due to the session configuration containing 2 factories and the default is being pickedup.
Any help would be appreciated.
Cheers
Sent from my iPhone
are you sure that the property is being set in the right place? I always have troubles doing that. Did you try setting it up using the APIs? Just to see if your work item works?