JBoss Community

How to load multiple bpmn files as jbpm:resource in spring config?

created by Anatoliy Kalenskiy in jBPM - View the full discussion

Is it possible to use something like:

 

<jbpm:kbase id="kbase">
    <jbpm:resources>
        <jbpm:resource type="BPMN2" source="classpath:*.bpmn"/>
    </jbpm:resources>
</jbpm:kbase>

 

Looks like no :

Caused by: java.io.FileNotFoundException: '*.bpmn' cannot be opened because it does not exist

How can I dinamically load list of bpmn file and add them to jbpm:resources ?

Reply to this message by going to Community

Start a new discussion in jBPM at Community