Package org.apache.camel.processor.interceptor

Examples of org.apache.camel.processor.interceptor.DefaultChannel


            if (child instanceof RouteContextProcessor) {
                child = ((RouteContextProcessor) child).getProcessor();
            }

            if (child instanceof DefaultChannel) {
                DefaultChannel channel = (DefaultChannel) child;
                ProcessorDefinition<?> def = channel.getProcessorDefinition();
                navigateDefinition(def, sb);
            }

        }
    }
View Full Code Here


        assertEquals("Number of routes created: " + list, 1, list.size());

        Route route = list.get(0);
        EventDrivenConsumerRoute consumerRoute = assertIsInstanceOf(EventDrivenConsumerRoute.class, route);

        DefaultChannel channel = assertIsInstanceOf(DefaultChannel.class, unwrapChannel(consumerRoute.getProcessor()));

        assertIsInstanceOf(DefaultErrorHandler.class, channel.getErrorHandler());
        assertFalse("Should not have stream caching", channel.hasInterceptorStrategy(StreamCaching.class));

        assertIsInstanceOf(Resequencer.class, channel.getNextProcessor());
    }
View Full Code Here

    /**
     * Creates a new instance of the {@link Channel}.
     */
    protected ModelChannel createChannel(RouteContext routeContext) throws Exception {
        return new DefaultChannel();
    }
View Full Code Here

    /**
     * Creates a new instance of the {@link Channel}.
     */
    protected ModelChannel createChannel(RouteContext routeContext) throws Exception {
        return new DefaultChannel();
    }
View Full Code Here

        }

        for (Processor child : nav.next()) {

            if (child instanceof DefaultChannel) {
                DefaultChannel channel = (DefaultChannel) child;
                ProcessorDefinition def = channel.getProcessorDefinition();
                navigateDefinition(def, sb);
            }
        }
    }
View Full Code Here

    /**
     * Creates a new instance of the {@link Channel}.
     */
    protected ModelChannel createChannel(RouteContext routeContext) throws Exception {
        return new DefaultChannel();
    }
View Full Code Here

        if (!nav.hasNext()) {
            return;
        }

        if (nav instanceof DefaultChannel) {
            DefaultChannel channel = (DefaultChannel) nav;
            ProcessorDefinition<?> def = channel.getProcessorDefinition();
            navigateDefinition(def, sb);
        }
    }
View Full Code Here

    /**
     * Creates a new instance of the {@link Channel}.
     */
    protected ModelChannel createChannel(RouteContext routeContext) throws Exception {
        return new DefaultChannel();
    }
View Full Code Here

    /**
     * Creates a new instance of the {@link Channel}.
     */
    protected ModelChannel createChannel(RouteContext routeContext) throws Exception {
        return new DefaultChannel();
    }
View Full Code Here

    /**
     * Creates a new instance of the {@link Channel}.
     */
    protected ModelChannel createChannel(RouteContext routeContext) throws Exception {
        return new DefaultChannel();
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.processor.interceptor.DefaultChannel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.