/** * Disables message counters for this server. */ @Operation(desc = "Disable message counters", impact = MBeanOperationInfo.ACTION) void disableMessageCounters() throws Exception;
/** * Lists all the messages being deliver per consumer. * <br> * The Map's key is a toString representation for the consumer. Each consumer will then return a {@code Map<String,Object>[]} same way is returned by {@link #listScheduledMessages()} */ @Operation(desc = "List all messages being delivered per consumer") Map<String, Map<String, Object>[]> listDeliveringMessages() throws Exception;
/** * Lists the message counter for this queue as a HTML table. */ @Operation(desc = "List the message counters as HTML", impact = MBeanOperationInfo.INFO) String listMessageCounterAsHTML() throws Exception;
/** * Pauses the queue. Messages are no longer delivered to its consumers. */ @Operation(desc = "Pauses the Queue", impact = MBeanOperationInfo.ACTION) void pause() throws Exception;
/** * Starts this component. */ @Operation(desc = "starts this component") void start() throws Exception;
/** * Reset all message counters. */ @Operation(desc = "Reset all message counters", impact = MBeanOperationInfo.ACTION) void resetAllMessageCounters() throws Exception;
/** * List transactions which have been heuristically rolled back. */ @Operation(desc = "List transactions which have been heuristically rolled back") String[] listHeuristicRolledBackTransactions() throws Exception;
/** * Lists all the messages scheduled for delivery for this queue. * <br> * 1 Map represents 1 message, keys are the message's properties and headers, values are the corresponding values. */ @Operation(desc = "List the messages scheduled for delivery", impact = MBeanOperationInfo.INFO) Map<String, Object>[] listScheduledMessages() throws Exception;
/** * Lists all the messages scheduled for delivery for this queue using JSON serialization. */ @Operation(desc = "List the messages scheduled for delivery and returns them using JSON", impact = MBeanOperationInfo.INFO) String listScheduledMessagesAsJSON() throws Exception;
/** * Resets the message counter for this queue. */ @Operation(desc = "Reset the message counters", impact = MBeanOperationInfo.INFO) void resetMessageCounter() throws Exception;
/** * Lists the message counter history for this queue. */ @Operation(desc = "List the message counters history", impact = MBeanOperationInfo.INFO) String listMessageCounterHistory() throws Exception;
/** * Resets the MessagesAdded property */ @Operation(desc = "Resets the MessagesAdded property", impact = MBeanOperationInfo.ACTION) void resetMessagesAdded() throws Exception;
/** * Resets the MessagesAdded property */ @Operation(desc = "Resets the MessagesAcknowledged property", impact = MBeanOperationInfo.ACTION) void resetMessagesAcknowledged() throws Exception;
/** * Re-create the acceptor with the existing configuration values. Useful, for example, for reloading key/trust * stores on acceptors which support SSL. */ @Operation(desc = "Re-create the acceptor with the existing configuration values. Useful, for example, for reloading key/trust stores on acceptors which support SSL.", impact = MBeanOperationInfo.ACTION) void reload(); }
/** * Enables message counters for this server. */ @Operation(desc = "Enable message counters", impact = MBeanOperationInfo.ACTION) void enableMessageCounters() throws Exception;
/** * List all the prepared transaction, sorted by date, * oldest first, with details, in text format. */ @Operation(desc = "List all the prepared transaction, sorted by date, oldest first, with details, in JSON format") String listPreparedTransactionDetailsAsJSON() throws Exception;
/** * Lists all the IDs of the connections connected to this server. */ @Operation(desc = "List all the connection IDs", impact = MBeanOperationInfo.INFO) String[] listConnectionIDs() throws Exception;
/** * Removes all the message from the queue. * * @return the number of removed messages */ @Operation(desc = "Remove all the messages from the Queue (and returns the number of removed messages)", impact = MBeanOperationInfo.ACTION) int removeAllMessages() throws Exception;
/** * Lists the message counter for this queue. */ @Operation(desc = "List the message counters", impact = MBeanOperationInfo.INFO) String listMessageCounter() throws Exception;
/** * Resets the MessagesExpired property */ @Operation(desc = "Resets the MessagesKilled property", impact = MBeanOperationInfo.ACTION) void resetMessagesKilled() throws Exception;