Last active
May 5, 2016 06:15
-
-
Save dangnhdev/ba9b3f0fe6a6d90dacb42e1a7ae82a92 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.elcom.ifccore.config.RmqExchangeDeclareConfig; | |
import org.dangnh.xmlconfig.ConfigFactory; | |
/** | |
* | |
* @author DangNH | |
*/ | |
public class TestConfig { | |
public static void main(String[] args) { | |
RmqExchangeDeclareConfig config = ConfigFactory.create(RmqExchangeDeclareConfig.class); | |
//auto convert type | |
System.out.println(config.excType()); | |
System.out.println(config.isDurable()); | |
System.out.println(config.name()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment