Hi All,

I have a very basic question. When do you decide to create a custom
component Vs creating a custom processor. A camel component implementation
has a processor either in terms of producer or consumer or both.

The question arose when i looked at the XSLT component. XsltComponent class
internally uses a processor (XsltBuilder) which then creates and returns a
special endpoint ProcessorEndpoint. What was the reasoning that went behind
making it a component instead of direct implementation of a Processor
interface.

You can still set xmlConverter, uriResolver properties on a Processor and
still will not have any state.

Best Regards,
Madhav
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Custom-component-Vs-Custom-processor-tp3256585p3256585.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to