Abhitocode opened a new pull request, #4342:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4342

   `MessageHandler` required an itemDefinition for every `<message>`, so a 
message start event with no data mapping failed the build. Both `itemRef` and 
`structureRef` are optional in the BPMN2 spec.
   
   The handler now only resolves the itemDefinition when an `itemRef` is 
present, defaults the type to `java.lang.Object` when the message carries no 
data, and always registers the message so the referencing event can find it.
   
   Added tests  in `CodegenMessageStartEventTest` (no `itemRef`, and an empty 
`structureRef`) and `StartEventTest` (process starts on a message with no 
payload). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to