Package com.streamreduce.core.transformer

Examples of com.streamreduce.core.transformer.MessageTransformerResult


            return null;
        }

        // convert to a more user friendly string
        // accept messageDetails (if any) so we can append info if needed
        MessageTransformerResult messageTransformerResult =
                SobaMessageTransformerFactory.transformMessage(event, type, details, messageProperties);

        // plain text
        String transformedMessage = messageTransformerResult.getTransformedMessage();
        // embed the rich formatted message in the soba object
        SobaMessageDetails sobaMessageDetails = messageTransformerResult.getMessageDetails();

        SobaMessage message = new SobaMessage.Builder()
                .sender(sender)
                .dateGenerated(dateGenerated)
                .type(type)
View Full Code Here

TOP

Related Classes of com.streamreduce.core.transformer.MessageTransformerResult

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.