Record Class EsbBrokerCapabilities
java.lang.Object
java.lang.Record
com.kingsrook.qqq.esb.management.EsbBrokerCapabilities
public record EsbBrokerCapabilities(boolean browse, boolean queueInfo, boolean pauseQueue, boolean purge, boolean deleteSelected, boolean deleteOlderThan, boolean move)
extends Record
The broker queue management actions (spec section 8) that a provider's
broker supports - so the UI shows, and the operate processes allow, only
those.
- browse: list a queue's messages (plain JMS, so every broker).
- queueInfo: report a queue's depth and consumer count.
- pauseQueue: pause (and resume) delivery to all of a queue's consumers.
- purge: remove all of a queue's messages.
- deleteSelected: remove messages by JMS message id.
- deleteOlderThan: remove messages older than a time.
- move: move messages by JMS message id to another queue.
Each EsbBrokerAdapter reports its broker's; WITHOUT_MANAGEMENT is for a
provider with no management API (no managementUrl), which can only browse.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEsbBrokerCapabilities(boolean browse, boolean queueInfo, boolean pauseQueue, boolean purge, boolean deleteSelected, boolean deleteOlderThan, boolean move) Creates an instance of aEsbBrokerCapabilitiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbrowse()Returns the value of thebrowserecord component.booleanReturns the value of thedeleteOlderThanrecord component.booleanReturns the value of thedeleteSelectedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmove()Returns the value of themoverecord component.booleanReturns the value of thepauseQueuerecord component.booleanpurge()Returns the value of thepurgerecord component.booleanReturns the value of thequeueInforecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
WITHOUT_MANAGEMENT
-
-
Constructor Details
-
EsbBrokerCapabilities
public EsbBrokerCapabilities(boolean browse, boolean queueInfo, boolean pauseQueue, boolean purge, boolean deleteSelected, boolean deleteOlderThan, boolean move) Creates an instance of aEsbBrokerCapabilitiesrecord class.- Parameters:
browse- the value for thebrowserecord componentqueueInfo- the value for thequeueInforecord componentpauseQueue- the value for thepauseQueuerecord componentpurge- the value for thepurgerecord componentdeleteSelected- the value for thedeleteSelectedrecord componentdeleteOlderThan- the value for thedeleteOlderThanrecord componentmove- the value for themoverecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
browse
public boolean browse()Returns the value of thebrowserecord component.- Returns:
- the value of the
browserecord component
-
queueInfo
public boolean queueInfo()Returns the value of thequeueInforecord component.- Returns:
- the value of the
queueInforecord component
-
pauseQueue
public boolean pauseQueue()Returns the value of thepauseQueuerecord component.- Returns:
- the value of the
pauseQueuerecord component
-
purge
public boolean purge()Returns the value of thepurgerecord component.- Returns:
- the value of the
purgerecord component
-
deleteSelected
public boolean deleteSelected()Returns the value of thedeleteSelectedrecord component.- Returns:
- the value of the
deleteSelectedrecord component
-
deleteOlderThan
public boolean deleteOlderThan()Returns the value of thedeleteOlderThanrecord component.- Returns:
- the value of the
deleteOlderThanrecord component
-
move
public boolean move()Returns the value of themoverecord component.- Returns:
- the value of the
moverecord component
-