Package org.mule.jbi.messaging

Examples of org.mule.jbi.messaging.UnknownRoleException


        if (me.getRole() == MessageExchange.Role.CONSUMER) {
            target = ((MessageExchangeProxy) me).getProvider();
        } else if (me.getRole() == MessageExchange.Role.PROVIDER) {
            target = ((MessageExchangeProxy) me).getConsumer();
        } else {
            throw new UnknownRoleException(me.getRole());
        }
        DeliveryChannelImpl ch = (DeliveryChannelImpl) ((JbiRegistryComponent)registry.getComponent(target)).getChannel();
    ch.enqueue(((MessageExchangeProxy) me).getTwin());
    }
View Full Code Here

TOP

Related Classes of org.mule.jbi.messaging.UnknownRoleException

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.