RE: Component vs EndPoint

2012-08-16 Thread Siano, Stephan
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 S

Re: Component vs EndPoint

2012-08-16 Thread Claus Ibsen
On Thu, Aug 16, 2012 at 1:11 PM, Joe San wrote: > 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?