You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/05/16 13:28:00 UTC
[jira] [Commented] (NIFI-11535) Change WebSocket FlowFile removal when supplying HTTP headers
[ https://issues.apache.org/jira/browse/NIFI-11535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723137#comment-17723137 ]
ASF subversion and git services commented on NIFI-11535:
--------------------------------------------------------
Commit 335365874a249dfb3c1044cf39bfbc584085d83a in nifi's branch refs/heads/main from Lehel
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=335365874a ]
NIFI-11535: Transfer ConnectWebsocket connection configuration FlowFile to relationships
Also moved dto and util packages under org.apache.nifi.websocket.jetty
This closes #7246.
Signed-off-by: Peter Turcsanyi <tu...@apache.org>
> 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
> Priority: Major
>
> 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)