Package org.switchyard.runtime.event

Examples of org.switchyard.runtime.event.ExchangeInitiatedEvent


        // Publish exchange initiation event
        if (ExchangePhase.IN.equals(getPhase())) {
            getContext().setProperty(ExchangeInitiatedEvent.EXCHANGE_INITIATED_TIME, Long.toString(System.nanoTime()), Scope.EXCHANGE)
                .addLabels(BehaviorLabel.TRANSIENT.label());
            domain.getEventPublisher().publish(new ExchangeInitiatedEvent(this));
        }

        _exchange.getProperty(DISPATCHER, ExchangeDispatcher.class).dispatch(this);

        if (isDone(sendPhase)) {
View Full Code Here


            RuntimeLogger.ROOT_LOGGER.faultGeneratedDuringExchange(faultContent);
        } else {
            // Publish exchange initiation event
            if (ExchangePhase.IN.equals(getPhase())) {
                getContext().setProperty(ExchangeInitiatedEvent.EXCHANGE_INITIATED_TIME + ".start", Long.toString(System.nanoTime()));
                _domain.getEventPublisher().publish(new ExchangeInitiatedEvent(this));
            }
           
            _dispatch.dispatch(this);
        }
       
View Full Code Here

TOP

Related Classes of org.switchyard.runtime.event.ExchangeInitiatedEvent

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.