GlobalListener


#1

Hi I am using camunda tomcat distribution with spring context I need to write global TaskListener can some help me.


#2

Hi @Dineshkumar,

can you please tell more about your use case? Why do you need this global task listener?

There are different ways to implement this:

Best regards,
Philipp


#3

Thanks Philipp_Ossler can you suggest me How can I integrate ProcessApplicationEventListner with my spring context.

I have used following way

@ProcessApplication
public class InvoiceProcessApplication extends ServletProcessApplication {}

but I bootstrap a SpringProcessApplication like
bean id=“invoicePa” class=“org.camunda.bpm.engine.spring.application.SpringServletProcessApplication” />

here problem

ProcessApplication creating one deployment and SpringServletProcessApplication creating another deployment.

This is my problem, sorry for my bad communication

@Dineshkumar


#4

Hi @Dineshkumar_Arivaras,

if you want to use the ProcessApplicationEventListener then your InvoiceProcessApplication should implement the getTaskListener() method as shown in the documentation.

Why do you declare your process application twice: via annotation and via Spring XML?

Best regards,
Philipp


#5

can I remove this line?


#6

I assume that your process application is InvoiceProcessApplication. So you can just remove the bean invoicePa from the Spring XML.


#7

HI How can I configure CamundaReactor plugin in tomcat distribution

Thanks in advance


#9

Hi @Dineshkumar,

this is not a common use case. Usually, you would integrate the plugin in your process application.

See the related question here.

Best regards,
Philipp


#10

Thanks… I tried to configure this plugin in java with spring but I am failed.
Then I realised plugins are should be configured before process engine starts. :roll_eyes: