You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "dr.jeff" <jl...@systechnologies.com> on 2007/04/18 23:45:00 UTC

[camel] Content Based Router (more info)

I notice that even though the RouteBuilderTest build all sorts of routes, it
never seems to send anything through them.
I also notice that when you do try to send something through, calling
builder.getRouteList() first will mask the SendProcessor error (but still
nothing will make it through).
Finally, I also notice the the simple example of
                from("queue:a").to("queue:b");
                from("queue:b").process(new StringProcessor());
stops working if you call builder.getRouteList() before trying to send
something through.
-- 
View this message in context: http://www.nabble.com/-camel--Content-Based-Router-%28more-info%29-tf3603289s2354.html#a10066578
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: [camel] Content Based Router (more info)

Posted by "dr.jeff" <jl...@systechnologies.com>.
Roger.
I'll do a new checkout.
Thanks.


James.Strachan wrote:
> 
> On 4/18/07, dr.jeff <jl...@systechnologies.com> wrote:
>>
>> I notice that even though the RouteBuilderTest build all sorts of routes,
>> it
>> never seems to send anything through them.
> 
> See the these tests...
> 
> * ChoiceTest
> * QueueRouteTest
> * IdempotentConsumerTest
> 
> for some tests in camel-core that really push messages through Camel.
> Within the sub modules the camel-jms is a good example of a test case
> really testing the underlying transport
> 
> 
>> I also notice that when you do try to send something through, calling
>> builder.getRouteList() first will mask the SendProcessor error (but still
>> nothing will make it through).
>> Finally, I also notice the the simple example of
>>                 from("queue:a").to("queue:b");
>>                 from("queue:b").process(new StringProcessor());
>> stops working if you call builder.getRouteList() before trying to send
>> something through.
> 
> AS mentioned in the previous thread, I think this is now resolved
> AFAIK. Though I'm sure we could use a few more test cases to ensure
> everythings working perfectly. Contributions most welcome :)
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/-camel--Content-Based-Router-%28more-info%29-tf3603289s2354.html#a10069274
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: [camel] Content Based Router (more info)

Posted by James Strachan <ja...@gmail.com>.
On 4/18/07, dr.jeff <jl...@systechnologies.com> wrote:
>
> I notice that even though the RouteBuilderTest build all sorts of routes, it
> never seems to send anything through them.

See the these tests...

* ChoiceTest
* QueueRouteTest
* IdempotentConsumerTest

for some tests in camel-core that really push messages through Camel.
Within the sub modules the camel-jms is a good example of a test case
really testing the underlying transport


> I also notice that when you do try to send something through, calling
> builder.getRouteList() first will mask the SendProcessor error (but still
> nothing will make it through).
> Finally, I also notice the the simple example of
>                 from("queue:a").to("queue:b");
>                 from("queue:b").process(new StringProcessor());
> stops working if you call builder.getRouteList() before trying to send
> something through.

AS mentioned in the previous thread, I think this is now resolved
AFAIK. Though I'm sure we could use a few more test cases to ensure
everythings working perfectly. Contributions most welcome :)

-- 

James
-------
http://radio.weblogs.com/0112098/