java 遠端呼叫 rabbitmq
阿新 • • 發佈:2018-12-11
新增管理員使用者,雖然預設(看起來是所有許可權)都有,實際依然雖然手工點選一下 (Set permission)
不然會提示一下錯誤
- Exception in thread "main" java.io.IOException
- at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
- at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102
- at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:124)
- at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:388)
- at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:516
- at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533)
rabbitmq管理和程式呼叫埠是區分的.
預設的管理視窗埠為15672, 程式使用的埠為5672