You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Lehel Boér (Jira)" <ji...@apache.org> on 2023/05/09 16:21:00 UTC

[jira] [Created] (NIFI-11535) Change WebSocket FlowFile removal when supplying HTTP headers

Lehel Boér created NIFI-11535:
---------------------------------

             Summary: Change WebSocket FlowFile removal when supplying HTTP headers
                 Key: NIFI-11535
                 URL: https://issues.apache.org/jira/browse/NIFI-11535
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Lehel Boér
            Assignee: Lehel Boér


               final ProcessSession session = processSessionFactory.createSession();
                final FlowFile flowFile = session.get();
                try {
                    webSocketClientService.connect(endpointId, flowFile.getAttributes());
                } finally {
                    session.remove(flowFile);
                    session.commitAsync();
                }
In case of connection failure we lose data



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