Package org.acemq.rabbitmq.admin
Class StreamPublisherInfo
java.lang.Object
org.acemq.rabbitmq.admin.StreamPublisherInfo
One publisher on a stream protocol connection.
errored() is the number to watch. A stream publisher is confirmed asynchronously,
so a message the broker refused does not fail the send — it fails a callback, which an
application can easily never look at.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StreamPublisherInfo
-
-
Method Details
-
reference
- Returns:
- the publisher's name, which is what the broker deduplicates on; null for a publisher that gave none, and therefore has no deduplication
-
publisherId
public int publisherId()- Returns:
- the id, unique only within its connection
-
stream
-
vhost
-
connectionName
- Returns:
- the connection it is on, joining it to
StreamConnectionInfo.name(); null until the broker's first statistics interval after the publisher appeared
-
published
public long published() -
confirmed
public long confirmed() -
errored
public long errored()- Returns:
- messages the broker refused, which the sending code may never have noticed
-
toString
-