question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to add plugins into ProcessEngineConfiguration

See original GitHub issue

Normally, I would do something like that: make a file camunda.cfg.xml with following content:

> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans" 
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
> 
>   <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
>    <property name="processEnginePlugins">
>      <list>
>        <bean class="xxx.yyyy.bpm.parselistener.InformAssigneeParseListenerPlugin" />
>      </list>
>    </property>
>   </bean>
> </beans>
> 

How to add plugins into configuration in case of camunda-bpm-spring-boot? Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
sdorokhovacommented, Nov 23, 2018

Hi @abhishu17 , from what I remember you just need to declare a Spring bean implementing ProcessEnginePlugin and it will be automatically registered in the engine.

0reactions
jangalinskicommented, Nov 23, 2018

that is correct

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugin for ProcessEngineConfiguration doesn't work
I'm trying to add listener to all user tasks. ... Okay, in that case you must register process engine plugins in the bpm-platform.xml ......
Read more >
Shared Container setup for Process Engine Plugins
I'm using Tomcat and have setup as described in the "Install the platform on a ... Engine Plugin" therefore needs to be included...
Read more >
org.camunda.bpm.engine.impl.cfg ... - Tabnine
add to configuration processEngineConfiguration.getProcessEnginePlugins().add(plugin);
Read more >
Class CompositeProcessEnginePlugin - Camunda 7 Docs
Add collection of plugins. List<ProcessEnginePlugin>, getPlugins(). Get all plugins. void, postInit(ProcessEngineConfigurationImpl processEngineConfiguration).
Read more >
Custom Classes & Plugins Using Camunda BPM Run
Custom Classes & Plugins Using Camunda BPM Run. Camunda BPM Run ("Camunda Run") is ... Advanced Process Engine Configuration in Camunda Run.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found