Thank you guys. I pulled in all the component jars (50+) and it worked. In
order to just have the one(s) I need, can you tell me which components give
you endpoints for arbitrary queue names such as andrew:start and andrew:end?

Thanks


willem.jiang wrote:
> 
> Yes, if you want to use message queue in camel context you need include
> the camel-jms module[1].
> 
> [1] http://camel.apache.org/jms.html
> 
> Willem
> 
> Ashwin Karpe wrote:
>> 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-tp23654476p23675172.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to