Package org.acemq.rabbitmq.admin
Class StreamConnectionInfo
java.lang.Object
org.acemq.rabbitmq.admin.StreamConnectionInfo
One connection over RabbitMQ's stream protocol, on port 5552.
RabbitAdmin.connections() lists these too, among every other protocol's, with the
AMQP-shaped fields that mean little for a stream client. This list holds only stream
connections, and its name() is what StreamPublisherInfo.connectionName() and
StreamConsumerInfo.connectionName() refer to.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StreamConnectionInfo
-
-
Method Details
-
name
- Returns:
- the broker's name for it, joining it to the connection names publishers carry
-
vhost
-
user
-
node
-
state
- Returns:
running, usually
-
peerHost
-
peerPort
public int peerPort() -
clientProvidedName
- Returns:
- the name the client gave itself, or null when it gave none
-
connectedAt
public long connectedAt()- Returns:
- when it connected, in milliseconds since the epoch; 0 when not reported
-
toString
-