Package org.switchyard

Examples of org.switchyard.ExchangePhase


        }
    }

    private void sendInternal() {
        ServiceDomain domain = ((SwitchYardCamelContext) _exchange.getContext()).getServiceDomain();
        ExchangePhase sendPhase = getPhase();

        // 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());
View Full Code Here


     */
    private void sendInternal(Message message) {
        if (_startTime == null) {
            _startTime = System.nanoTime();
        }
        ExchangePhase sendPhase = _phase;
       
        _message = message;
        // assign messageId
        _message.getContext().setProperty(MESSAGE_ID, UUID.randomUUID().toString())
            .addLabels(BehaviorLabel.TRANSIENT.label());
View Full Code Here

TOP

Related Classes of org.switchyard.ExchangePhase

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.