Package | Description |
---|---|
org.apache.activemq.artemis.api.core.management | |
org.apache.activemq.artemis.api.jms.management | |
org.apache.activemq.artemis.jms.management.impl |
Modifier and Type | Method and Description |
---|---|
void |
ActiveMQServerControl.addAddressSettings(String addressMatch,
String DLA,
String expiryAddress,
long expiryDelay,
boolean lastValueQueue,
int deliveryAttempts,
long maxSizeBytes,
int pageSizeBytes,
int pageMaxCacheSize,
long redeliveryDelay,
double redeliveryMultiplier,
long maxRedeliveryDelay,
long redistributionDelay,
boolean sendToDLAOnNoRoute,
String addressFullMessagePolicy,
long slowConsumerThreshold,
long slowConsumerCheckPeriod,
String slowConsumerPolicy,
boolean autoCreateJmsQueues,
boolean autoDeleteJmsQueues,
boolean autoCreateJmsTopics,
boolean autoDeleteJmsTopics)
adds a new address setting for a specific address
|
void |
ActiveMQServerControl.addSecuritySettings(String addressMatch,
String sendRoles,
String consumeRoles,
String createDurableQueueRoles,
String deleteDurableQueueRoles,
String createNonDurableQueueRoles,
String deleteNonDurableQueueRoles,
String manageRoles) |
void |
ActiveMQServerControl.addSecuritySettings(String addressMatch,
String sendRoles,
String consumeRoles,
String createDurableQueueRoles,
String deleteDurableQueueRoles,
String createNonDurableQueueRoles,
String deleteNonDurableQueueRoles,
String manageRoles,
String browseRoles) |
CompositeData[] |
QueueControl.browse(String filter)
Resets the MessagesAdded property
|
boolean |
QueueControl.changeMessagePriority(long messageID,
int newPriority)
Changes the message's priority corresponding to the specified message ID to the specified priority.
|
int |
QueueControl.changeMessagesPriority(String filter,
int newPriority)
Changes the priority for all the message corresponding to the specified filter to the specified priority.
|
boolean |
ActiveMQServerControl.closeConnectionsForAddress(String ipAddress)
Closes all the connections of clients connected to this server which matches the specified IP address.
|
boolean |
ActiveMQServerControl.closeConnectionsForUser(String address)
Closes all the connections of sessions with a matching user name.
|
boolean |
ActiveMQServerControl.closeConsumerConnectionsForAddress(String address)
Closes all the connections of clients connected to this server which matches the specified IP address.
|
boolean |
ActiveMQServerControl.commitPreparedTransaction(String transactionAsBase64)
Heuristically commits a prepared transaction.
|
long |
QueueControl.countMessages(String filter)
Counts the number of messages in this queue matching the specified filter.
|
void |
ActiveMQServerControl.createBridge(String name,
String queueName,
String forwardingAddress,
String filterString,
String transformerClassName,
long retryInterval,
double retryIntervalMultiplier,
int initialConnectAttempts,
int reconnectAttempts,
boolean useDuplicateDetection,
int confirmationWindowSize,
int producerWindowSize,
long clientFailureCheckPeriod,
String connectorNames,
boolean useDiscoveryGroup,
boolean ha,
String user,
String password) |
void |
ActiveMQServerControl.createBridge(String name,
String queueName,
String forwardingAddress,
String filterString,
String transformerClassName,
long retryInterval,
double retryIntervalMultiplier,
int initialConnectAttempts,
int reconnectAttempts,
boolean useDuplicateDetection,
int confirmationWindowSize,
long clientFailureCheckPeriod,
String connectorNames,
boolean useDiscoveryGroup,
boolean ha,
String user,
String password) |
void |
ActiveMQServerControl.createDivert(String name,
String routingName,
String address,
String forwardingAddress,
boolean exclusive,
String filterString,
String transformerClassName) |
void |
ActiveMQServerControl.createQueue(String address,
String name)
Create a durable queue.
|
void |
ActiveMQServerControl.createQueue(String address,
String name,
boolean durable)
Create a queue.
|
void |
ActiveMQServerControl.createQueue(String address,
String name,
String filter,
boolean durable)
Create a queue.
|
void |
ActiveMQServerControl.deployQueue(String address,
String name,
String filter)
Deploy a durable queue.
|
void |
ActiveMQServerControl.deployQueue(String address,
String name,
String filter,
boolean durable)
Deploy a queue.
|
void |
ActiveMQServerControl.destroyBridge(String name) |
void |
ActiveMQServerControl.destroyDivert(String name) |
void |
ActiveMQServerControl.destroyQueue(String name)
Destroys the queue corresponding to the specified name.
|
void |
ActiveMQServerControl.disableMessageCounters()
Disables message counters for this server.
|
void |
ActiveMQServerControl.enableMessageCounters()
Enables message counters for this server.
|
boolean |
QueueControl.expireMessage(long messageID)
Expires the message corresponding to the specified message ID.
|
int |
QueueControl.expireMessages(String filter)
Expires all the message corresponding to the specified filter.
|
void |
ActiveMQServerControl.forceFailover() |
String |
ActiveMQServerControl.getAddressSettingsAsJSON(String addressMatch)
returns the address settings as a JSON string
|
Object[] |
ActiveMQServerControl.getRoles(String addressMatch) |
String |
ActiveMQServerControl.getRolesAsJSON(String addressMatch) |
String |
ActiveMQServerControl.listAllConsumersAsJSON()
Lists all the consumers connected to this server.
|
String[] |
ActiveMQServerControl.listConnectionIDs()
Lists all the IDs of the connections connected to this server.
|
String |
ActiveMQServerControl.listConnectionsAsJSON()
Lists all the connections connected to this server.
|
String |
QueueControl.listConsumersAsJSON() |
String |
ActiveMQServerControl.listConsumersAsJSON(String connectionID)
Lists all the consumers which belongs to the connection specified by the connectionID.
|
Map<String,Map<String,Object>[]> |
QueueControl.listDeliveringMessages()
Lists all the messages being deliver per consumer.
|
String |
QueueControl.listDeliveringMessagesAsJSON()
Executes a conversion of
QueueControl.listDeliveringMessages() to JSON |
String[] |
ActiveMQServerControl.listHeuristicCommittedTransactions()
List transactions which have been heuristically committed.
|
String[] |
ActiveMQServerControl.listHeuristicRolledBackTransactions()
List transactions which have been heuristically rolled back.
|
String |
QueueControl.listMessageCounter()
Lists the message counter for this queue.
|
String |
QueueControl.listMessageCounterAsHTML()
Lists the message counter for this queue as a HTML table.
|
String |
QueueControl.listMessageCounterHistory()
Lists the message counter history for this queue.
|
String |
QueueControl.listMessageCounterHistoryAsHTML()
Lists the message counter history for this queue as a HTML table.
|
Map<String,Object>[] |
QueueControl.listMessages(String filter)
Lists all the messages in this queue matching the specified filter.
|
String |
QueueControl.listMessagesAsJSON(String filter)
Lists all the messages in this queue matching the specified filter using JSON serialization.
|
String |
ActiveMQServerControl.listPreparedTransactionDetailsAsHTML()
List all the prepared transaction, sorted by date,
oldest first, with details, in HTML format
|
String |
ActiveMQServerControl.listPreparedTransactionDetailsAsJSON()
List all the prepared transaction, sorted by date,
oldest first, with details, in text format.
|
String[] |
ActiveMQServerControl.listPreparedTransactions()
List all the prepared transaction, sorted by date, oldest first.
|
String[] |
ActiveMQServerControl.listRemoteAddresses()
Lists the addresses of all the clients connected to this address.
|
String[] |
ActiveMQServerControl.listRemoteAddresses(String ipAddress)
Lists the addresses of the clients connected to this address which matches the specified IP address.
|
Map<String,Object>[] |
QueueControl.listScheduledMessages()
Lists all the messages scheduled for delivery for this queue.
|
String |
QueueControl.listScheduledMessagesAsJSON()
Lists all the messages scheduled for delivery for this queue using JSON serialization.
|
String[] |
ActiveMQServerControl.listSessions(String connectionID)
Lists all the sessions IDs for the specified connection ID.
|
String |
ActiveMQServerControl.listSessionsAsJSON(String connectionID)
Lists details about all the sessions for the specified connection ID.
|
boolean |
QueueControl.moveMessage(long messageID,
String otherQueueName)
Moves the message corresponding to the specified message ID to the specified other queue.
|
boolean |
QueueControl.moveMessage(long messageID,
String otherQueueName,
boolean rejectDuplicates)
Moves the message corresponding to the specified message ID to the specified other queue.
|
int |
QueueControl.moveMessages(int flushLimit,
String filter,
String otherQueueName,
boolean rejectDuplicates) |
int |
QueueControl.moveMessages(String filter,
String otherQueueName)
Moves all the message corresponding to the specified filter to the specified other queue.
|
int |
QueueControl.moveMessages(String filter,
String otherQueueName,
boolean rejectDuplicates)
Moves all the message corresponding to the specified filter to the specified other queue.
|
void |
QueueControl.pause()
Pauses the queue.
|
void |
AcceptorControl.reload()
Re-create the acceptor with the existing configuration values.
|
boolean |
QueueControl.removeMessage(long messageID)
Removes the message corresponding to the specified message ID.
|
int |
QueueControl.removeMessages(int flushLimit,
String filter)
Removes all the message corresponding to the specified filter.
|
int |
QueueControl.removeMessages(String filter)
Removes all the message corresponding to the specified filter.
|
void |
ActiveMQServerControl.removeSecuritySettings(String addressMatch) |
void |
ActiveMQServerControl.resetAllMessageCounterHistories()
Reset histories for all message counters.
|
void |
ActiveMQServerControl.resetAllMessageCounters()
Reset all message counters.
|
void |
QueueControl.resetMessageCounter()
Resets the message counter for this queue.
|
void |
QueueControl.resetMessagesAcknowledged()
Resets the MessagesAdded property
|
void |
QueueControl.resetMessagesAdded()
Resets the MessagesAdded property
|
void |
QueueControl.resetMessagesExpired()
Resets the MessagesExpired property
|
void |
QueueControl.resetMessagesKilled()
Resets the MessagesExpired property
|
void |
QueueControl.resume()
Resumes the queue.
|
boolean |
QueueControl.retryMessage(long messageID)
Retries the message corresponding to the given messageID to the original queue.
|
int |
QueueControl.retryMessages()
Retries all messages on a DLQ to their respective original queues.
|
boolean |
ActiveMQServerControl.rollbackPreparedTransaction(String transactionAsBase64)
Heuristically rolls back a prepared transaction.
|
void |
ActiveMQServerControl.scaleDown(String connector) |
String |
QueueControl.sendMessage(Map<String,String> headers,
int type,
String body,
String userID,
boolean durable,
String user,
String password) |
int |
QueueControl.sendMessagesToDeadLetterAddress(String filterStr)
Sends all the message corresponding to the specified filter to this queue's dead letter address.
|
boolean |
QueueControl.sendMessageToDeadLetterAddress(long messageID)
Sends the message corresponding to the specified message ID to this queue's dead letter address.
|
void |
ActiveMQComponentControl.start()
Starts this component.
|
void |
ActiveMQComponentControl.stop()
Stops this component.
|
Modifier and Type | Method and Description |
---|---|
void |
JMSQueueControl.addBinding(String binding)
Add the JNDI binding to this destination
|
void |
ConnectionFactoryControl.addBinding(String binding)
Add the Registry binding to this destination
|
void |
TopicControl.addBinding(String binding)
Add the Registry binding to this destination
|
CompositeData[] |
JMSQueueControl.browse()
Resumes the queue.
|
CompositeData[] |
JMSQueueControl.browse(String filter)
Resumes the queue.
|
boolean |
JMSQueueControl.changeMessagePriority(String messageID,
int newPriority)
Changes the message's priority corresponding to the specified message ID to the specified priority.
|
int |
JMSQueueControl.changeMessagesPriority(String filter,
int newPriority)
Changes the priority for all the message corresponding to the specified filter to the specified priority.
|
boolean |
JMSServerControl.closeConnectionsForAddress(String ipAddress)
Closes all the connections of clients connected to this server which matches the specified IP address.
|
boolean |
JMSServerControl.closeConnectionsForUser(String address)
Closes all the connections on this server for sessions using a particular user name.
|
String |
JMSServerControl.closeConnectionWithClientID(String clientID)
List all the prepared transaction, sorted by date,
oldest first, with details, in HTML format
|
boolean |
JMSServerControl.closeConsumerConnectionsForAddress(String address)
Closes all the connections on this server for consumers which are consuming from a queue associated with a particular address.
|
long |
JMSQueueControl.countMessages(String filter)
Counts the number of messages in this queue matching the specified filter.
|
int |
TopicControl.countMessagesForSubscription(String clientID,
String subscriptionName,
String filter)
Counts the number of messages in the subscription specified by the specified client ID and subscription name.
|
void |
JMSServerControl.createConnectionFactory(String name,
boolean ha,
boolean useDiscovery,
int cfType,
String[] connectors,
String[] jndiBindings,
String clientID,
long clientFailureCheckPeriod,
long connectionTTL,
long callTimeout,
long callFailoverTimeout,
int minLargeMessageSize,
boolean compressLargeMessages,
int consumerWindowSize,
int consumerMaxRate,
int confirmationWindowSize,
int producerWindowSize,
int producerMaxRate,
boolean blockOnAcknowledge,
boolean blockOnDurableSend,
boolean blockOnNonDurableSend,
boolean autoGroup,
boolean preAcknowledge,
String loadBalancingPolicyClassName,
int transactionBatchSize,
int dupsOKBatchSize,
boolean useGlobalPools,
int scheduledThreadPoolMaxSize,
int threadPoolMaxSize,
long retryInterval,
double retryIntervalMultiplier,
long maxRetryInterval,
int reconnectAttempts,
boolean failoverOnInitialConnection,
String groupId) |
void |
JMSServerControl.createConnectionFactory(String name,
boolean ha,
boolean useDiscovery,
int cfType,
String connectors,
String jndiBindings)
Create a JMS ConnectionFactory with the specified name connected to a single live-backup pair of servers.
|
void |
JMSServerControl.createConnectionFactory(String name,
boolean ha,
boolean useDiscovery,
int cfType,
String connectors,
String jndiBindings,
String clientID,
long clientFailureCheckPeriod,
long connectionTTL,
long callTimeout,
long callFailoverTimeout,
int minLargeMessageSize,
boolean compressLargeMessages,
int consumerWindowSize,
int consumerMaxRate,
int confirmationWindowSize,
int producerWindowSize,
int producerMaxRate,
boolean blockOnAcknowledge,
boolean blockOnDurableSend,
boolean blockOnNonDurableSend,
boolean autoGroup,
boolean preAcknowledge,
String loadBalancingPolicyClassName,
int transactionBatchSize,
int dupsOKBatchSize,
boolean useGlobalPools,
int scheduledThreadPoolMaxSize,
int threadPoolMaxSize,
long retryInterval,
double retryIntervalMultiplier,
long maxRetryInterval,
int reconnectAttempts,
boolean failoverOnInitialConnection,
String groupId) |
boolean |
JMSServerControl.createQueue(String name)
Creates a durable JMS Queue.
|
boolean |
JMSServerControl.createQueue(String name,
String jndiBindings)
Creates a durable JMS Queue with the specified name and JNDI binding.
|
boolean |
JMSServerControl.createQueue(String name,
String jndiBindings,
String selector)
Creates a durable JMS Queue with the specified name, JNDI binding and selector.
|
boolean |
JMSServerControl.createQueue(String name,
String jndiBindings,
String selector,
boolean durable)
Creates a JMS Queue with the specified name, durability, selector and JNDI binding.
|
boolean |
JMSServerControl.createTopic(String name)
Creates a JMS Topic.
|
boolean |
JMSServerControl.createTopic(String name,
String jndiBindings)
Creates a JMS Topic with the specified name and JNDI binding.
|
void |
JMSServerControl.destroyConnectionFactory(String name) |
boolean |
JMSServerControl.destroyQueue(String name)
Destroys a JMS Queue with the specified name.
|
boolean |
JMSServerControl.destroyQueue(String name,
boolean removeConsumers)
Destroys a JMS Queue with the specified name.
|
boolean |
JMSServerControl.destroyTopic(String name)
Destroys a JMS Topic with the specified name.
|
boolean |
JMSServerControl.destroyTopic(String name,
boolean removeConsumers)
Destroys a JMS Topic with the specified name.
|
void |
TopicControl.dropAllSubscriptions()
Drops all subscriptions.
|
void |
TopicControl.dropDurableSubscription(String clientID,
String subscriptionName)
Drops the subscription specified by the specified client ID and subscription name.
|
boolean |
JMSQueueControl.expireMessage(String messageID)
Expires the message corresponding to the specified message ID.
|
int |
JMSQueueControl.expireMessages(String filter)
Expires all the message corresponding to the specified filter.
|
String |
JMSServerControl.getLastSentMessageID(String sessionID,
String address)
Returns the last sent message's ID from the given session to an address.
|
String |
JMSServerControl.getSessionCreationTime(String sessionID)
Gets the session's creation time.
|
String |
JMSServerControl.listAllConsumersAsJSON()
Lists all the consumers
The returned String is a JSON string containing an array of JMSConsumerInfo objects.
|
Object[] |
TopicControl.listAllSubscriptions()
Lists all the subscriptions for this topic (both durable and non-durable).
|
String |
TopicControl.listAllSubscriptionsAsJSON()
Lists all the subscriptions for this topic (both durable and non-durable) using JSON serialization.
|
String[] |
JMSServerControl.listConnectionIDs()
Lists all the IDs of the connections connected to this server.
|
String |
JMSServerControl.listConnectionsAsJSON()
Lists all the connections connected to this server.
|
String |
JMSQueueControl.listConsumersAsJSON() |
String |
JMSServerControl.listConsumersAsJSON(String connectionID)
Lists all the consumers which belongs to the JMS Connection specified by the connectionID.
|
Map<String,Map<String,Object>[]> |
JMSQueueControl.listDeliveringMessages()
Lists all the messages being deliver per consumer.
|
String |
JMSQueueControl.listDeliveringMessagesAsJSON()
Executes a conversion of
JMSQueueControl.listDeliveringMessages() to JSON |
Object[] |
TopicControl.listDurableSubscriptions()
Lists all the durable subscriptions for this topic.
|
String |
TopicControl.listDurableSubscriptionsAsJSON()
Lists all the durable subscriptions using JSON serialization.
|
String |
JMSQueueControl.listMessageCounter()
Lists the message counter for this queue.
|
String |
JMSQueueControl.listMessageCounterAsHTML()
Lists the message counter for this queue as a HTML table.
|
String |
JMSQueueControl.listMessageCounterHistory()
Lists the message counter history for this queue.
|
String |
JMSQueueControl.listMessageCounterHistoryAsHTML()
Lists the message counter history for this queue as a HTML table.
|
Map<String,Object>[] |
JMSQueueControl.listMessages(String filter)
Lists all the JMS messages in this queue matching the specified filter.
|
String |
JMSQueueControl.listMessagesAsJSON(String filter)
Lists all the JMS messages in this queue matching the specified filter using JSON serialization.
|
Map<String,Object>[] |
TopicControl.listMessagesForSubscription(String queueName)
Lists all the messages in this queue matching the specified queue representing the subscription.
|
String |
TopicControl.listMessagesForSubscriptionAsJSON(String queueName)
Lists all the messages in this queue matching the specified queue representing the subscription using JSON serialization.
|
String |
JMSServerControl.listNetworkTopology() |
Object[] |
TopicControl.listNonDurableSubscriptions()
Lists all the non-durable subscriptions for this topic.
|
String |
TopicControl.listNonDurableSubscriptionsAsJSON()
Lists all the non-durable subscriptions using JSON serialization.
|
String |
JMSServerControl.listPreparedTransactionDetailsAsHTML()
List all the prepared transaction, sorted by date,
oldest first, with details, in HTML format
|
String |
JMSServerControl.listPreparedTransactionDetailsAsJSON()
List all the prepared transaction, sorted by date,
oldest first, with details, in text format
|
String[] |
JMSServerControl.listRemoteAddresses()
Lists the addresses of all the clients connected to this address.
|
String[] |
JMSServerControl.listRemoteAddresses(String ipAddress)
Lists the addresses of the clients connected to this address which matches the specified IP address.
|
Map<String,Object>[] |
JMSQueueControl.listScheduledMessages()
Lists all the messages scheduled for delivery for this queue.
|
String |
JMSQueueControl.listScheduledMessagesAsJSON()
Lists all the messages scheduled for delivery for this queue using JSON serialization.
|
String[] |
JMSServerControl.listSessions(String connectionID)
Lists all the sessions IDs for the specified connection ID.
|
String |
JMSServerControl.listSessionsAsJSON(String connectionID)
Lists all the sessions IDs for the specified connection ID.
|
String[] |
JMSServerControl.listTargetDestinations(String sessionID)
Lists all addresses to which the designated server session has sent messages.
|
boolean |
JMSQueueControl.moveMessage(String messageID,
String otherQueueName)
Moves the message corresponding to the specified message ID to the specified other queue.
|
boolean |
JMSQueueControl.moveMessage(String messageID,
String otherQueueName,
boolean rejectDuplicates)
Moves the message corresponding to the specified message ID to the specified other queue.
|
int |
JMSQueueControl.moveMessages(String filter,
String otherQueueName)
Moves all the message corresponding to the specified filter to the specified other queue.
|
int |
JMSQueueControl.moveMessages(String filter,
String otherQueueName,
boolean rejectDuplicates)
Moves all the message corresponding to the specified filter to the specified other queue.
|
void |
JMSQueueControl.pause()
Pauses the queue.
|
void |
ConnectionFactoryControl.removeBinding(String binding)
Remove a Registry binding
|
boolean |
JMSQueueControl.removeMessage(String messageID)
Removes the message corresponding to the specified message ID.
|
int |
JMSQueueControl.removeMessages(String filter)
Removes all the message corresponding to the specified filter.
|
int |
DestinationControl.removeMessages(String filter)
Removed all the messages which matches the specified JMS filter from this destination.
|
void |
JMSQueueControl.resetMessageCounter()
Resets the message counter for this queue.
|
void |
JMSQueueControl.resume()
Resumes the queue.
|
boolean |
JMSQueueControl.retryMessage(String messageID)
Retries the message corresponding to the given messageID to the original queue.
|
int |
JMSQueueControl.retryMessages()
Retries all messages on a DLQ to their respective original queues.
|
int |
JMSQueueControl.sendMessagesToDeadLetterAddress(String filterStr)
Sends all the message corresponding to the specified filter to this queue's dead letter address.
|
boolean |
JMSQueueControl.sendMessageToDeadLetterAddress(String messageID)
Sends the message corresponding to the specified message ID to this queue's dead letter address.
|
String |
JMSQueueControl.sendTextMessage(Map<String,String> headers,
String body)
Sends a TextMesage to the destination.
|
String |
JMSQueueControl.sendTextMessage(Map<String,String> headers,
String body,
String user,
String password) |
String |
JMSQueueControl.sendTextMessage(String body)
Sends a TextMesage to the destination.
|
String |
JMSQueueControl.sendTextMessage(String body,
String user,
String password)
Sends a TextMesage to the destination.
|
String |
JMSQueueControl.sendTextMessageWithProperties(String properties)
Sends a TextMessage to the destination.
|
Modifier and Type | Method and Description |
---|---|
String |
JMSQueueControlImpl.listConsumersAsJSON() |
Copyright © 2016 The Apache Software Foundation. All rights reserved.