Examples of prepareConsumerExchange()


Examples of org.apache.servicemix.common.ServiceMixComponent.prepareConsumerExchange()

   
    protected void prepare(MessageExchange exchange) throws MessagingException {
        Endpoint ep = this.endpoint.get();
        if (ep != null && exchange.getStatus() == ExchangeStatus.ACTIVE && exchange.getRole() == Role.CONSUMER) {
            ServiceMixComponent comp = ep.getServiceUnit().getComponent();
            comp.prepareConsumerExchange(exchange, ep);
        }
    }
   
    public static void setEndpoint(Endpoint ep) {
        endpoint.set(ep);
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.