Created
June 21, 2022 19:50
-
-
Save julianazanelatto/a64bb2d0beaaf760a719e2f41cea6abb to your computer and use it in GitHub Desktop.
This file contains 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
ConnectionFactory factory = new ConnectionFactory(); | |
factory.setHost("172.24.0.2"); | |
factory.setUsername("admin"); | |
factory.setPassword("pass123"); | |
factory.setPort(5672); | |
Connection connection = factory.newConnection(); | |
Channel channel = connection.createChannel(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment