Skip to content

Instantly share code, notes, and snippets.

@dangnhdev
Last active May 5, 2016 06:15
Show Gist options
  • Save dangnhdev/ba9b3f0fe6a6d90dacb42e1a7ae82a92 to your computer and use it in GitHub Desktop.
Save dangnhdev/ba9b3f0fe6a6d90dacb42e1a7ae82a92 to your computer and use it in GitHub Desktop.
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