camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: New mina2 component test fails with "No component found with scheme: mina2"
Date Mon, 31 Oct 2011 05:38:13 GMT
On 10/31/11 3:10 AM, Chad Beaulac wrote:
> I'm working on a mina2 component. Unit tests that use the Java DSL pass.
> Unit tests that use the TemplateProducer fail with an error like:
> (From the Mina2ComponentTest.testMistypedProtocol)
> org.apache.camel.ResolveEndpointFailedException: Failed to resolve
> endpoint: mina2://tcp//localhost:8080 due to: No component found with scheme:
> mina2
> Java DSL with something like the route below work fine:
>       from("mina2:udp://").to("mock:result");
> Maybe I'm suppose to add something to features.xml but I'm not sure what
> and I'm not sure if that's the issue.

If you are not running the test within OSGi container, you don't need to 
update any of features.xml.

> Any insight/help is very appreciated.
> Thanks,
> Chad

Blog: (English)
Twitter: willemjiang
Weibo: willemjiang

View raw message