Daniel Stieglitz created NIFI-15273:
---------------------------------------

             Summary: Improve validation for property PROP_WS_MESSAGE_TYPE in 
PutWebSocket
                 Key: NIFI-15273
                 URL: https://issues.apache.org/jira/browse/NIFI-15273
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz
            Assignee: Daniel Stieglitz


Currently there is only non blank validation for the PROP_WS_MESSAGE_TYPE 
property in PutWebSocket which can lead to a run time exception being thrown if 
the type entered does not match the values in the WebSocketMessage.Type enum.

The purpose of this ticket is to add validation to ensure only an Expression 
Language expression is entered or one of the values in the 
WebSocketMessage.Type enum for property PROP_WS_MESSAGE_TYPE.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to