cancel
Showing results for 
Search instead for 
Did you mean: 

Start a process with a Message Event

frank1970
Champ in-the-making
Champ in-the-making
Hi all !
I'd like to implement a process which starts when a message is received. Reading the BPMN 2.0 docs I can read that it should be possible and, although mentioned in the Activiti User Guide, I'm still missing what is the concrete implementation of the message. For example, is it possible to start a process using a JMS Message ?
Thanks a lot
Frank
4 REPLIES 4

gant
Champ in-the-making
Champ in-the-making
Hi,

Read here about the message start event in activiti: http://www.activiti.org/userguide/index.html#bpmnMessageStartEvent.

So if you want to start a message by JMS message, you need a component, that receives your message and then calls the appropriate startProcessInstanceByMessage() method passing the information you extracted before from your JMS message.

Regards

kalpana
Champ in-the-making
Champ in-the-making
Hi,
Am new to activiti can you please suggest me how to make the process to listen to a
a. jms queue
b.picks up the message(xml format)
c.based on the root tag of the xml it should be routed to different process flow

jbarrez
Star Contributor
Star Contributor
That would need to be custom logic where you have a listener that trigger the process. Activiti does not have anything that connects or listens to JMS out of the box.

kalpana
Champ in-the-making
Champ in-the-making
Thanks for the immediate response.