AnsweredAssumed Answered

How to create a custom activity

Question asked by sascha1 on Apr 8, 2011
Latest reply on Apr 20, 2011 by sascha1

is there any document or example how to create custom Activities?

I think i have to implement an ActivityBehavior.

First of all I would like to implement an Activity that is waiting for an JMSMessage. I began to implement a class that extends AbstractBpmnActivityBehavior and implements javax.jms.MessageListener at the moment if a message arrives simply leave() is called. The implementation should be improved later but now I need to know how to make Activiti use my custom Activity?  Can someone please sketch how to do this.