cancel
Showing results for 
Search instead for 
Did you mean: 

What is the goal of setMessageRef prefix?

davidpardo
Champ in-the-making
Champ in-the-making
Hi all,

Im investigating a small usability problem in the activiti modeler. When you convert a BPMN xml file to a (editable) model the value of messageref of a MessageEventDefinition is prefixed with a target namespace by the MessageEventDefinitionParser. The messageref is stored in the following format: $prefix:$messageref.

Is it safe to remove the prefix or is it off great importance for a component of activiti?
2 REPLIES 2

davidpardo
Champ in-the-making
Champ in-the-making

trademak
Star Contributor
Star Contributor
Hi,

It's needed for the namespace handling for message refs in the current BPMN converter logic. In the modeler it can be removed if you want the message to have the default namespace of the process definition.

Best regards,