You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/11/19 05:55:01 UTC
[incubator-streampipes-extensions] branch dev updated: Remove
closing of connection in PLC4X S7 adapter
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
The following commit(s) were added to refs/heads/dev by this push:
new f967e6f Remove closing of connection in PLC4X S7 adapter
f967e6f is described below
commit f967e6ffb1ea4a3289e30a5654cccad30622bdad
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Thu Nov 19 06:50:14 2020 +0100
Remove closing of connection in PLC4X S7 adapter
---
.../apache/streampipes/connect/adapters/plc4x/s7/Plc4xS7Adapter.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/plc4x/s7/Plc4xS7Adapter.java b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/plc4x/s7/Plc4xS7Adapter.java
index b286ec6..176e88e 100644
--- a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/plc4x/s7/Plc4xS7Adapter.java
+++ b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/plc4x/s7/Plc4xS7Adapter.java
@@ -241,8 +241,6 @@ public class Plc4xS7Adapter extends PullAdapter {
// publish the final event
adapterPipeline.process(event);
-
- plcConnection.close();
} catch (InterruptedException | ExecutionException e) {
LOG.error(e.getMessage());
e.printStackTrace();