tejaswari7 commented on issue #3141:
URL: https://github.com/apache/camel-k/issues/3141#issuecomment-1098306617
> > also Sample.java contains `from('timer:tick?period=3000')`
`.setBody().constant('Hello world from Camel K')` `.to('log:info')`
>
> This is not correct Java syntax. There should be a class Sample and the
strings should be in " instead of '. And there should be ; at the end of the
statement. Currently you're using Groovy syntax.
Hi,
Thanks for correction!!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]