Hi,
If you look at http://camel.apache.org/component.html you will find: "A 
Component is essentially a factory of Endpoint instances." Essentially xslt is 
a Component, whereas you generate an Endpoint in the to-statement of your route.

Best regards
Stephan

-----Original Message-----
From: Joe San [mailto:codeintheo...@gmail.com] 
Sent: Donnerstag, 16. August 2012 13:11
To: users@camel.apache.org
Subject: Component vs EndPoint

As a follow up on the Chapter 3 from Camel in Action:

from("file://rider/inbox")
.to("xslt://camelinaction/transform.xsl")
.to("activemq:queue:transformed")

Can I refer the xslt as an EndPoint? or it is better referred as a
Component?

Regards,
Jothi

Reply via email to