public class DestinationAction extends java.lang.Object implements Action
DestinationAction represents behavior being taken on a particular ActiveMQDestination, such as
creation, removal, and reading messages from it or writing messages to it. The exact behavior being taken on the
specific destination is represented as a verb property, which is one of
the following string tokens:
| Verb | Description |
|---|---|
create |
Create a specific destination. |
remove |
Remove a specific destination. |
read |
Read (consume) messages from a specific destination. |
write |
Write messages to a specific destination. |
| Constructor and Description |
|---|
DestinationAction(org.apache.activemq.broker.ConnectionContext connectionContext,
org.apache.activemq.command.ActiveMQDestination destination,
java.lang.String verb) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.activemq.broker.ConnectionContext |
getConnectionContext() |
org.apache.activemq.command.ActiveMQDestination |
getDestination() |
java.lang.String |
getVerb() |
java.lang.String |
toString()
Returns a human readable string that indicates what this action is, for example "open doors" or
"delete file /usr/local/foo"
|
public DestinationAction(org.apache.activemq.broker.ConnectionContext connectionContext,
org.apache.activemq.command.ActiveMQDestination destination,
java.lang.String verb)
public org.apache.activemq.broker.ConnectionContext getConnectionContext()
public org.apache.activemq.command.ActiveMQDestination getDestination()
public java.lang.String getVerb()
public java.lang.String toString()
ActionCopyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.