## Uses of Class
org.hornetq.api.core.management.Operation

Packages that use Operation
org.hornetq.api.core.management: Management API for HornetQ servers and its Core resources.
org.hornetq.api.jms.management: Management API for HornetQ JMS resources.

Uses of Operation in org.hornetq.api.core.management

Methods in org.hornetq.api.core.management with annotations of type Operation
`void` `HornetQServerControl.addAddressSettings(String addressMatch, String DLA, String expiryAddress, boolean lastValueQueue, int deliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy)` adds a new address setting for a specific address
`void` `HornetQServerControl.addSecuritySettings(String addressMatch, String sendRoles, String consumeRoles, String createDurableQueueRoles, String deleteDurableQueueRoles, String createNonDurableQueueRoles, String deleteNonDurableQueueRoles, String manageRoles)`
`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` `HornetQServerControl.closeConnectionsForAddress(String ipAddress)` Closes all the connections of clients connected to this server which matches the specified IP address.
`boolean` `HornetQServerControl.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`

`HornetQServerControl.createBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, long retryInterval, double retryIntervalMultiplier, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, long clientFailureCheckPeriod, String connectorNames, boolean useDiscoveryGroup, boolean ha, String user, String password)`

`void` `HornetQServerControl.createDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName)`
`void` `HornetQServerControl.createQueue(String address, String name)` Create a durable queue.
`void` `HornetQServerControl.createQueue(String address, String name, boolean durable)` Create a queue.
`void` `HornetQServerControl.createQueue(String address, String name, String filter, boolean durable)` Create a queue.
`void` `HornetQServerControl.deployQueue(String address, String name, String filter)` Deploy a durable queue.
`void` `HornetQServerControl.deployQueue(String address, String name, String filter, boolean durable)` Deploy a queue.
`void` `HornetQServerControl.destroyBridge(String name)`
`void` `HornetQServerControl.destroyDivert(String name)`
`void` `HornetQServerControl.destroyQueue(String name)` Destroys the queue corresponding to the specified name.
`void` `HornetQServerControl.disableMessageCounters()` Disables message counters for this server.
`void` `HornetQServerControl.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` `HornetQServerControl.forceFailover()`
`String` `HornetQServerControl.getAddressSettingsAsJSON(String addressMatch)` returns the address settings as a JSON string
`Object[]` `HornetQServerControl.getRoles(String addressMatch)`
`String` `HornetQServerControl.getRolesAsJSON(String addressMatch)`
`boolean` `QueueControl.isPaused()` Returns whether the queue is paused.
`String[]` `HornetQServerControl.listConnectionIDs()` Lists all the IDs of the connections connected to this server.
`String` `QueueControl.listConsumersAsJSON()`
`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` `HornetQServerControl.listPreparedTransactionDetailsAsHTML()` List all the prepared transaction, sorted by date, oldest first, with details, in HTML format
`String` `HornetQServerControl.listPreparedTransactionDetailsAsJSON()` List all the prepared transaction, sorted by date, oldest first, with details, in text format.
`String[]` `HornetQServerControl.listPreparedTransactions()` List all the prepared transaction, sorted by date, oldest first.
`String[]` `HornetQServerControl.listRemoteAddresses()` Lists the addresses of all the clients connected to this address.
`String[]` `HornetQServerControl.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[]` `HornetQServerControl.listSessions(String connectionID)` Lists all the sessions IDs 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(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.
`boolean` `QueueControl.removeMessage(long messageID)` Removes the message corresponding to the specified message ID.
`int` `QueueControl.removeMessages(String filter)` Removes all the message corresponding to the specified filter.
`void` `HornetQServerControl.removeSecuritySettings(String addressMatch)`
`void` `HornetQServerControl.resetAllMessageCounterHistories()` Reset histories for all message counters.
`void` `HornetQServerControl.resetAllMessageCounters()` Reset all message counters.
`void` `QueueControl.resetMessageCounter()` Resets the message counter for this queue.
`void` `QueueControl.resume()` Resumes the queue.
`boolean` `HornetQServerControl.rollbackPreparedTransaction(String transactionAsBase64)` Heuristically rolls back a prepared transaction.
`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.

Uses of Operation in org.hornetq.api.jms.management

Methods in org.hornetq.api.jms.management with annotations of type Operation
`void` `TopicControl.addJNDI(String jndi)` Add the JNDI binding to this destination
`void` `ConnectionFactoryControl.addJNDI(String jndi)` Add the JNDI binding to this destination
`void` `JMSQueueControl.addJNDI(String jndi)` Add the JNDI binding to this destination
`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.
`String` `JMSServerControl.closeConnectionWithClientID(String clientID)` List all the prepared transaction, sorted by date, oldest first, with details, in HTML format
`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, 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, 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.destroyTopic(String name)` 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[]` `TopicControl.getJNDIBindings()` Returns the JNDI bindings associated to this connection factory.
`String[]` `JMSQueueControl.getJNDIBindings()` Returns the JNDI bindings associated to this connection factory.
`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.
`boolean` `JMSQueueControl.isPaused()` Returns whether the queue is paused.
`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.
`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.
`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.
`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` `TopicControl.removeJNDI(String jndi)`
`void` `ConnectionFactoryControl.removeJNDI(String jndi)` Remove a JNDI binding
`void` `JMSQueueControl.removeJNDI(String jndi)`
`boolean` `JMSQueueControl.removeMessage(String messageID)` Removes the message corresponding to the specified message ID.
`int` `DestinationControl.removeMessages(String filter)` Removed all the messages which matches the specified JMS filter from this destination.
`int` `JMSQueueControl.removeMessages(String filter)` Removes all the message corresponding to the specified filter.
`void` `JMSQueueControl.resetMessageCounter()` Resets the message counter for this queue.
`void` `JMSQueueControl.resume()` Resumes the queue.
`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.

Copyright © 2009 Red Hat Inc. All Rights Reserved.