Spring Process Application Incompatible with Managed Process Engine?



I’m trying to clarify the allowed setups.

The Configuring a Spring Process Application instructions say “(Remember that you additionally need a META-INF/processes.xml file)”.

However, the Configure a Managed Process Engine Using Spring instructions say “you may want to configure your process engine inside the spring application context Xml file (as opposed to the processes.xml file).”

So the first suggests that you must have a processes.xml file, while the second suggests NOT.

I want to both:

  1. Define a SpringProcessApplication (or SpringServletProcessApplication) via spring XML
  2. Use a managed process engine in spring.

In other words, I want to do everything in Spring.

Is this use case possible? And if so, what is the role of processes.xml?