Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-463
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: James Strachan
Reporter: Claus Ibsen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

Allow to set custom namespace on <camelContext> to have them available for XPath expressions that need namespaces.

Created: 15/Dec/11 09:18 AM   Updated: 16/Feb/12 02:16 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1.0

Environment: 2.1.147


 Description  « Hide
Current the GUI editor will re-create <camelContext> and lose any custom namespaces you may have configured.
Wonder if we should support a properties editor to add custom namespaces there.

Or possible enforce ppl to set namespace in the root tag etc.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Lars Heinemann added a comment - 16/Feb/12 12:35 PM
Atm the route node is the most low level node we can customize through properties. therefor we probably need some context menu or alike to allow editing of the context node. We should also take care to preserve the namespaces set inside the source view as currently we loose them on switching between source and design.

James Strachan added a comment - 16/Feb/12 01:28 PM
Folks can always hack the XML to add namespaces I guess; so we just need to make sure we preserve any xmlns* attributes on the <camelContext> when we regenerate it

James Strachan added a comment - 16/Feb/12 01:59 PM
think this should be fixed now - just needs testing

James Strachan added a comment - 16/Feb/12 02:16 PM
fixed in 2.1.267