Hi, You need to include the individual component jars as dependencies in your Maven builds in order to get routes working with those components. The core jar only contains routes to direct, Mock, file and a couple of other basic endpoints.
Hope this helps. Cheers, Ashwin... andrewbee2 wrote: > > Hi, > > I am using Camel 2, and Spring 2.5.6. I want to do unit testing with a > mock of our actual CamelContext, but I can't use arbitrary queue names. > The only ones I can use are direct:start and mock:result. Why is this, and > how can I use a name of my choosing? > > Here is the CamelContext, and I can post the rest of the Spring config and > the test class if need be. > > <camel:camelContext id="camel"> > <camel:route> > <camel:from uri="direct:start"/> > <camel:filter> > <camel:xpath>$foo = 'bar'</camel:xpath> > <camel:to uri="mock:result"/> > </camel:filter> > </camel:route> > </camel:camelContext> > > Thanks > ----- --- Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence Progress Software Corporation 14 Oak Park Drive Bedford, MA 01730 --- +1-972-304-9084 (Office) +1-972-971-1700 (Mobile) ---- Blog: http://opensourceknowledge.blogspot.com/ -- View this message in context: http://www.nabble.com/Can-only-use-direct%3Astart-and-mock%3Aresult-in-unit-tests-tp23654476p23656791.html Sent from the Camel - Users mailing list archive at Nabble.com.