camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
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://127.0.0.1:10111?sync=false&minaLogger=true").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
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Mime
View raw message