@Override
    public Stream<Message> process(Stream<Message> inputStream) {
        return inputStream.map(new Function<Message, Message>() {
            @Override
            public Message apply(Message message) {
                return new GenericMessage<String>(message.getPayload() + "-pojopong");
            }
        });
    }
A simple stream processor that transforms messages by adding "-pong" to the payload.

@author Mark Pollack
spring-xd-reactor/src/test/java/org/springframework/xd/reactor/PongMessageProcessor.java