You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to connect to Rabbit MQ to fetch some queue properties but unable to get the connection established (RabbitMQ 3.3.5, Erlang R16B03-1).
String uri = "amqp://USER_ID:PWD@HOST:PORTNO/";
factory.setUri(uri);
Connection conn = factory.newConnection();
Channel channel = conn.createChannel();
channel.close();
conn.close();
Error:
java.net.UnknownHostException: monitor
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.rabbitmq.client.impl.FrameHandlerFactory.create(FrameHandlerFactory.java:32)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:811)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:767)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:857)
at com.ConnectrabbitMQ.main(ConnectrabbitMQ.java:29)
The text was updated successfully, but these errors were encountered:
Please post questions to rabbitmq-users or Stack Overflow. RabbitMQ uses GitHub issues for specific actionable items engineers can work on, not questions. Thank you.
Trying to connect to Rabbit MQ to fetch some queue properties but unable to get the connection established (RabbitMQ 3.3.5, Erlang R16B03-1).
String uri = "amqp://USER_ID:PWD@HOST:PORTNO/";
factory.setUri(uri);
Connection conn = factory.newConnection();
Channel channel = conn.createChannel();
channel.close();
conn.close();
Error:
java.net.UnknownHostException: monitor
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.rabbitmq.client.impl.FrameHandlerFactory.create(FrameHandlerFactory.java:32)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:811)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:767)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:857)
at com.ConnectrabbitMQ.main(ConnectrabbitMQ.java:29)
The text was updated successfully, but these errors were encountered: