Examples of BeanInvocation


Examples of org.apache.camel.component.bean.BeanInvocation

    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        if (!isStarted()) {
            throw new IllegalStateException("The endpoint is not active: " + getEndpoint().getEndpointUri());
        }
        BeanInvocation invocation = new BeanInvocation(method, args);
        Exchange exchange = getEndpoint().createExchange();
        exchange.getIn().setBody(invocation);
        try {
            log.debug("Invoking {} with args {}", method, args);
            getProcessor().process(exchange);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.