Package org.springframework.messaging

Examples of org.springframework.messaging.MessageChannel


    }

    @Test
    public void testTwitterChannel(){
        //System.out.println("testTwitterChannel");
        MessageChannel twitterOutChannel = this.twitterTransformedChannel;
        Message<String> twitterUpdate = new GenericMessage<String>("Testing new Twitter " +
                "http://www.google.es samples for #springintegration "+RandomStringUtils.random(4));
        //System.out.println("twitterOutChannel message "+twitterUpdate.getPayload());
        twitterOutChannel.send(twitterUpdate);
        //System.out.println("twitterOutChannel");
    }
View Full Code Here

TOP

Related Classes of org.springframework.messaging.MessageChannel

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.