[
https://issues.apache.org/jira/browse/CAMEL-17292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491602#comment-17491602
]
Claus Ibsen commented on CAMEL-17292:
-------------------------------------
This is a bit worng
{code}
// camel-k: message=Hello World
{code}
That should be
{code}
// camel-k: property=message=Hello World
{code}
Also mind that spaces is not yet supported so it should be when it works
{code}
// camel-k: property=message='Hello World'
{code}
> camel-jbang: Add support for modeline
> -------------------------------------
>
> Key: CAMEL-17292
> URL: https://issues.apache.org/jira/browse/CAMEL-17292
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Marat Gubaidullin
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.16.0
>
>
> It would be great if camel-jbang support modeline, ex:
> {code:java}
> // camel-k: message=Hello World
> - from:
> uri: 'kamelet:timer-source'
> steps:
> - log:
> message: '{{message}}'
> parameters:
> period: 1000
> message: Hello {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)