45464748495051
public static class MyModule extends CamelModuleWithMatchingRoutes { @Provides @JndiBind("foo") MockComponent foo() { return new MockComponent(); }
26272829303132
/** */ public class NamedEndpointBean { @Produces @Named("myNamedEndpoint") public Endpoint createEndpoint() { return new MockEndpoint("mock:nameInjected", new MockComponent()); }
44454647484950