codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] davsclaus commented on issue #249: Add support for template endpoint


davsclaus commented on issue #249: Add support for template endpoint
URL: https://github.com/apache/camel-k/issues/249#issuecomment-448214477
 
 
   Oh the stub component will not create an actual endpoint of what endpoint uri is defined. So in your example with knative then stub will not create the knative Camel endpoint, but just _stub it out_. 
   
   The fact that stub uses an internal VM queue under the hood is a bit of purpose, in case you stub out endpoints that was intended to be bridged.
   
   So yeah in this example with sink/source you can say
   
   from timer foo
      to template bar
   
   from template bar
      to log info
   
   But they have to run in the same Camel JVM to bridge them together.
   
   Don't you want template to create the actual endpoint, eg knative in this example?

----------------------------------------------------------------
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@xxxxxxxxxxxxxxxx


With regards,
Apache Git Services