pjcubero commented on issue #1636:
URL: https://github.com/apache/camel-k/issues/1636#issuecomment-669164931


   > > > This will be fixed in next patch release.
   > > > Until then, a simple workaround is this one. Instead of:
   > > > ```
   > > > from("knative:channel/xxx")
   > > > ```
   > > > 
   > > > 
   > > > Use:
   > > > ```
   > > > from("knative:endpoint/default")
   > > > ```
   > > > 
   > > > 
   > > > This will create a Knative service. Then you can create a subscription 
resource by hand to bind the channel to the service: 
https://knative.dev/docs/eventing/event-delivery/
   > > 
   > > 
   > > But one question, I have in the producer this:
   > > .to("knative:channel/creacionpac")
   > > and in the consumer, I have this:
   > > from("knative:channel/creacionpac")
   > > I have to change both of them, or only the consumer?
   > > Which is the workaround solution?
   > 
   > Only the consumer
   
   But where must I to indicate the name of the channel, creacionpac?
   
   apiVersion: messaging.knative.dev/v1
   kind: Subscription
   metadata:
     name: with-dead-letter-sink
   spec:
     channel:
       apiVersion: messaging.knative.dev/v1
       kind: InMemoryChannel
       name: default
     delivery:
       deadLetterSink:
         ref:
           apiVersion: serving.knative.dev/v1
           kind: Service
           name: error-handler
     subscriber:
       uri: http://doesnotexist.default.svc.cluster.local
   
   


----------------------------------------------------------------
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.

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


Reply via email to