[ 
https://issues.apache.org/jira/browse/CAMEL-15828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17228417#comment-17228417
 ] 

Aurélien Pupier commented on CAMEL-15828:
-----------------------------------------

it seems that a regex can be provided 
https://issues.apache.org/jira/browse/ARCHETYPE-487

> [component archetype] when provided name is not a valid Java ClassName, 
> generated module contains errors
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15828
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15828
>             Project: Camel
>          Issue Type: Sub-task
>    Affects Versions: 3.6.0
>            Reporter: Aurélien Pupier
>            Priority: Major
>
> for instance when using space in teh name, several classes contaisn space in 
> teh naem whcih is invalid.
> Solution:
> - sanitize provided name
> - throw error



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to