sruehl commented on a change in pull request #14: WIP: Api Refactoring
URL: https://github.com/apache/incubator-plc4x/pull/14#discussion_r213965327
 
 

 ##########
 File path: 
integrations/apache-camel/src/main/java/org/apache/plc4x/camel/Plc4XConsumer.java
 ##########
 @@ -112,25 +114,25 @@ private PlcSubscriber getSubscriber() {
     }
 
     @Override
-    public void accept(SubscriptionEventItem subscriptionEventItem) {
-        LOGGER.debug("Received {}", subscriptionEventItem);
+    public void accept(PlcSubscriptionEvent plcSubscriptionEvent) {
+        LOGGER.debug("Received {}", plcSubscriptionEvent);
         try {
             Exchange exchange = endpoint.createExchange();
-            
exchange.getIn().setBody(unwrapIfSingle(subscriptionEventItem.getValues()));
+            
exchange.getIn().setBody(unwrapIfSingle(plcSubscriptionEvent.getAllObjects("default")));
 
 Review comment:
   where does this "default" constant come from?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to