camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: What mean the URIs "direct:" and "mock:" ?
Date Thu, 17 Jun 2010 15:38:11 GMT
Hi

You can find a list of Camel components here
http://camel.apache.org/components.html

And if you got 5 mins then I suggest reading this excellent article
introducing Camel
http://architects.dzone.com/articles/apache-camel-integration

direct = direct method invocation
mock = for testing (eg mock, see wikipedia)



On Thu, Jun 17, 2010 at 5:36 PM, benxs <bxstover@yahoo.co.uk> wrote:
>
> Ok, if I define some <route> with Spring XML in activemq.xml I can use a
> couple of different URIs.
>
> I understand what
>
> <to uri="activemq:newqueue"/>
> mean: forward the incoming msg to another queue.
>
> But what does
>
> <to uri="mock:baz"/>
>
> resp:
>
> <from uri="direct:baz"/>
>
> mean?
>
> Can I use all three types in <to/> AND <from/>  tags?
>
> Ben
> --
> View this message in context: http://camel.465427.n5.nabble.com/What-mean-the-URIs-direct-and-mock-tp509962p509962.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message