I was using JBPM5 in my Project in which I use to create a KnowledgeBase and add Process at Runtime as User creates them instead of creating KnowledgeBase again and again like:
final KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
Now, KnowledgeBase is replaced with KieBase and it is encouraged to use RuntimeManager in JBPM6, so what should be the replacement for the above code.
I searched through the documentation but could not find anything.
The only possible thing I could find right now is to use drools knowledge-api which opens an interface to jbpm's older api's (KnowledgeBase).
Thus no changes in Code Base (sadly can not use all the new things jbpm6 has to offer) until there is a concrete API to remove and add Processes dynamically.