You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/02/22 14:24:56 UTC

[GitHub] kameshsampath opened a new issue #483: Unable to send message to knative channel

kameshsampath opened a new issue #483: Unable to send message to knative channel
URL: https://github.com/apache/camel-k/issues/483
 
 
   Platform: `minikube`
   kamel: `master`
   
   When deploying route that sends  data to a knative channel like:
   
   ```
   from("amqp:queue:examples")
                   .streamCaching()
                   .log(LoggingLevel.INFO, "Object FQN ${header.objectFQN} Split Size: ${header.CamelSplitSize}")
                   .aggregate(header("objectFQN"), this::listAggregate)
                   .eagerCheckCompletion()
                   .completion(exchange -> exchange.getIn().getHeader("CamelSplitSize") != null
                           && exchange.getIn().getHeader("CamelSplitSize", Long.class) > 0)
                   .completionTimeout(7000)
                   .process(exchange -> {
                       List<String> words = exchange.getIn().getBody(List.class);
                       words.sort(String::compareToIgnoreCase);
                       exchange.getIn().setBody( String.join(",",words).getBytes());
   
                   })
                   .log("Sending Body: ${body}")
                   .to("knative:channel/sortucase")
                   .end();
   ```
   
    the message send fails with error 
   
   ```
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services