[
https://issues.apache.org/jira/browse/CAMEL-19296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716587#comment-17716587
]
Aurélien Pupier commented on CAMEL-19296:
-----------------------------------------
Allowing xxx.camel.xml is helping integrations in VS Code. VS Code is allowing
to base file type only on the filename, not on the content. For instance, it
will allow to provide a specific icon in explorer, automatically open with a
specific editor, filter commands in contextual menus, command palette and
actions.
In a more general way, it would be even better to provide whatever xxx.yyy.xml
as this is a valid pattern for xml filenames.
> Unable to init camel file with JBang for multi dot file name suffix - eg
> 'foo.camel.xml'
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-19296
> URL: https://issues.apache.org/jira/browse/CAMEL-19296
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 3.20.3, 4.0-M2
> Reporter: Dominik Jelinek
> Assignee: Claus Ibsen
> Priority: Minor
>
> {code:java}
> jbang run -Dcamel.jbang.version=3.20.3 camel@apache/camel init foo.camel.xml
> > Error: Unsupported file type: camel.xml{code}
> Tried also with latest camel version -Dcamel.jbang.version=4.0.0-M2
--
This message was sent by Atlassian Jira
(v8.20.10#820010)