Package org.springframework.erlang.core

Examples of org.springframework.erlang.core.ErlangTemplate.afterPropertiesSet()


    SingleConnectionFactory cf = new SingleConnectionFactory(selfNodeName, peerNodeName);

    cf.afterPropertiesSet();
    ErlangTemplate template = new ErlangTemplate(cf);
    template.afterPropertiesSet();

    long number = (Long) template.executeAndConvertRpc("erlang", "abs", -161803399);
    Assert.assertEquals(161803399, number);

    cf.destroy();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.