[
https://issues.apache.org/jira/browse/NIFI-11535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Turcsanyi updated NIFI-11535:
-----------------------------------
Fix Version/s: 2.0.0
1.22.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Fix For: 2.0.0, 1.22.0
>
>
> 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)