Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Kotlin example single quote needs to be replaced with double quotes #1145

Closed
jcordes73 opened this issue Dec 13, 2019 · 0 comments · Fixed by #1148
Closed

In Kotlin example single quote needs to be replaced with double quotes #1145

jcordes73 opened this issue Dec 13, 2019 · 0 comments · Fixed by #1148
Assignees
Milestone

Comments

@jcordes73
Copy link

In the Kotlin example (https://camel.apache.org/camel-k/latest/languages/kotlin.html) single quote needs to be replaced with double quotes, i.e.:

from("timer:tick")
.process { e -> e.getIn().body = "Hello Camel K!" }
.to("log:info");

There should also be a hint that the content of the route needs to be saved in a file with the extension .kts.

When using single quotes the deployment fails as it is complaining about too many characters in a single char.

@nicolaferraro nicolaferraro added this to the 1.0.0-CR1 milestone Dec 14, 2019
@nicolaferraro nicolaferraro self-assigned this Dec 16, 2019
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants