Package org.servicemix.components.util

Examples of org.servicemix.components.util.CopyTransformer


        this.destinationId = packet.destinationId;
        this.endpoint = null; // packet.endpoint;
        this.error = null;
        this.exchangeId = null; //???;
        this.interfaceName = packet.interfaceName;
        CopyTransformer ct = new CopyTransformer();
        if (packet.messages != null && packet.messages.size() > 0) {
            for (Iterator it = packet.messages.entrySet().iterator(); it.hasNext();) {
                Map.Entry entry = (Map.Entry) it.next();
                NormalizedMessage copy = new NormalizedMessageImpl();
                ct.transform(null, (NormalizedMessage) entry.getValue(), copy);
                setMessage(copy, (String) entry.getKey());
            }
        }
        this.operationName = packet.operationName;
        this.pattern = packet.pattern;
View Full Code Here

TOP

Related Classes of org.servicemix.components.util.CopyTransformer

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.