jomarko commented on PR #3445:
URL: 
https://github.com/apache/incubator-kie-tools/pull/3445#issuecomment-3933895802

   Thank you @kbowers-ibm 
   
   now I understand better the relationship of `inMessgaeRef` and 
`outMessageRef` with the xml.  As you cited the specification, where 
`outMessageRef` has `[0..1]` occurences, it is clear, it should be in the 
produced xml, only if the invoked java code (java method) has a non void return 
type.
   
   My concern is, the new BPMN Editor never produces such xml. In the attached 
screenshot from my previous review. I set and output assignment but the 
`outMessageRef` was missing. Or do we have a code, that is checking real method 
signature of set interface and method? I mean when I configure Service task to 
call interface `com.my.example.CustomClass` and operation `handleThisProblem`, 
do we have a code that try to resolve that method `handleThisProblem` and check 
if it has non `void` return type? In my screenshot I configured `service` and 
`operation` to some non existing values, that it would be fair BPMN Editor does 
not produce `outMessageRef` as it really did not have chance to check it.
   
   However as we use BAMOE Tooling also out of java availability - BAMOE 
Canvas, I am not sure if we perform such complex check.


-- 
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