You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by er...@apache.org on 2020/05/15 10:40:18 UTC

[plc4x] 03/08: ClassCast Exception still

This is an automated email from the ASF dual-hosted git repository.

erobinet pushed a commit to branch feature/scraper
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit cb640f8fd367d25f0d85e45623dee9bea922e9e7
Author: etiennerobinet <61...@users.noreply.github.com>
AuthorDate: Tue May 12 09:58:35 2020 +0200

    ClassCast Exception still
---
 .../examples/hello-world-plc4x/src/main/resources/config.yaml  | 10 ++++++++++
 plc4j/integrations/apache-camel/pom.xml                        |  6 ------
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/plc4j/examples/hello-world-plc4x/src/main/resources/config.yaml b/plc4j/examples/hello-world-plc4x/src/main/resources/config.yaml
new file mode 100644
index 0000000..258f727
--- /dev/null
+++ b/plc4j/examples/hello-world-plc4x/src/main/resources/config.yaml
@@ -0,0 +1,10 @@
+sources:
+  AB: eip:tcp://163.243.183.250?backplane=1&slot=4
+  S7: s7://192.168.178.10
+jobs:
+    - name: triggerS7
+      triggerConfig: (TRIGGER_VAR,1000,(%M200.0:BOOL)==(true))
+      sources:
+        - S7
+      fields:
+        test: "%DB1.DBW0:INT"
\ No newline at end of file
diff --git a/plc4j/integrations/apache-camel/pom.xml b/plc4j/integrations/apache-camel/pom.xml
index 85cd04f..0368d98 100644
--- a/plc4j/integrations/apache-camel/pom.xml
+++ b/plc4j/integrations/apache-camel/pom.xml
@@ -140,12 +140,6 @@
       <version>0.7.0-SNAPSHOT</version>
       <scope>compile</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.plc4x</groupId>
-      <artifactId>plc4j-driver-eip</artifactId>
-      <version>0.7.0-SNAPSHOT</version>
-      <scope>test</scope>
-    </dependency>
   </dependencies>
 
   <dependencyManagement>