How do I add a component
So you can You might first want to read Writing Components for a background in how to implement a new component.
Typically it means you write an implementation of the Component interface, typically usually deriving from DefaultComponent.
...
If you look in camel-spring at CamelNamespaceHandler you'll see how we handle the Spring XML stuff (warning its kinda hairy code to look at . If you wanted <fooComponent> to be a standard part of the core Camel schema then you'd hack that file to add your component & conftribute a patch to the camel XSD. Otherwise you could write your own namespace & schema if you prefer.