agwermann commented on issue #2690:
URL: https://github.com/apache/camel-k/issues/2690#issuecomment-944948002


   @nicolaferraro, thanks a lot for your input. In fact, it was a problem in 
the camel-k installation and issues in the docker repository settings.
   
   I was able to start-up the KameletBinding, but I am getting an error saying 
that the parameter `type` is invalid (`Unknown 
parameters=[{type=dev.knative.sources.ping}]`).
   
   ```
   Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to 
resolve endpoint: 
knative://endpoint/default?apiVersion=messaging.knative.dev%2Fv1&kind=Broker&type=dev.knative.sources.ping
 due to: Failed to resolve endpoint: 
knative://endpoint/default?apiVersion=messaging.knative.dev%2Fv1&kind=Broker&type=dev.knative.sources.ping
 due to: There are 1 parameters that couldn't be set on the endpoint. Check the 
uri if the parameters are spelt correctly and that they are properties of the 
endpoint. Unknown parameters=[{type=dev.knative.sources.ping}]
        at 
org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:962)
        at 
org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:844)
        at 
org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123)
        at 
org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:43)
        at 
org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:36)
        at 
org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:838)
        at 
org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:579)
        at 
org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:236)
        ... 31 more
   ```
   
   ```
   kubectl apply -f - << EOF
   apiVersion: camel.apache.org/v1alpha1
   kind: KameletBinding
   metadata:
     name: mqtt-source-binding
   spec:
     source:
       ref:
         kind: Kamelet
         apiVersion: camel.apache.org/v1alpha1
         name: mqtt-source
       properties:
         brokerUrl: mosquitto:1883
         topic: mytopic
     sink:
       ref:
         kind: Broker
         apiVersion: messaging.knative.dev/v1
         name: default
       properties:
         type: "dev.knative.sources.ping"
   EOF
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to