Do you have all of the auto discovery files there correctly?
http://camel.apache.org/writing-components.html
/je
On Oct 30, 2011, at 1:10 PM, 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.
>
> Any insight/help is very appreciated.
>
> Thanks,
> Chad