|
As of October 27th, please open all new issues in the Red Hat Customer Portal . |
|
I wonder if we should always shove an xmlns:camel attribute on the root element just in case?
BTW does the completion work even if the element doesn't start with "camel:". e.g. inside a <route> does typing "<f" complete to <from>?
awesome! I can hack it so that on load we force the creation of the xmlns:camel attribute if you like?
Currently modifying the CreateContextWizard to add the correct namespace definition. (branding module)
Pushed a change which fixes the "New Camel XML File" wizard to create working XML files for Spring and Blueprint. Will leave the remaining stuff to you. With the Blueprint one I found out that you need both the xmlns and the appropriate entry under xmlns:xsi.
Hmm - I wonder can we figure out what XML files don't work in smart completion?
Just tried the AMQ archetype in 2.1.379 and it worked fine - there's no camel namespace URI in the root element though there is an XSD though (xmlns:xsi stuff & the XSD etc) The only one I found so far is the activemq xml file created by the wizard. But you can get it working by adding the xsi entry.
closed unless someone has a problem with this
|
|||||||||||||||||||||||||||||||||||||||||||||
With this the camel code completion works...
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:camel="http://camel.apache.org/schema/spring" ...>Currently the Fuse Project wizard for archetype
does not add the camel spring xmlns so you have no code completion there.
Also if you create a new Camel Context XML file inside a project you also don't have code completion as the xmlns entry is missing.
If the xmlns entry is there you have code completion but with the prefix you defined...most of the time