activemq::core::ActiveMQConstants Class Reference
Class holding constant values for various ActiveMQ specific things Each constant is defined as an enumeration and has functions that convert back an forth between string and enum values.
More...
#include <src/main/activemq/core/ActiveMQConstants.h>
Data Structures |
| class | StaticInitializer |
Public Types |
| enum | TransactionState {
TRANSACTION_STATE_BEGIN = 0,
TRANSACTION_STATE_PREPARE = 1,
TRANSACTION_STATE_COMMITONEPHASE = 2,
TRANSACTION_STATE_COMMITTWOPHASE = 3,
TRANSACTION_STATE_ROLLBACK = 4,
TRANSACTION_STATE_RECOVER = 5,
TRANSACTION_STATE_FORGET = 6,
TRANSACTION_STATE_END = 7
} |
| enum | DestinationActions { DESTINATION_ADD_OPERATION = 0,
DESTINATION_REMOVE_OPERATION = 1
} |
| enum | AckType {
ACK_TYPE_DELIVERED = 0,
ACK_TYPE_POISON = 1,
ACK_TYPE_CONSUMED = 2,
ACK_TYPE_REDELIVERED = 3,
ACK_TYPE_INDIVIDUAL = 4
} |
| enum | DestinationOption {
CONSUMER_PREFECTCHSIZE,
CUNSUMER_MAXPENDINGMSGLIMIT,
CONSUMER_NOLOCAL,
CONSUMER_DISPATCHASYNC,
CONSUMER_RETROACTIVE,
CONSUMER_SELECTOR,
CONSUMER_EXCLUSIVE,
CONSUMER_PRIORITY,
NUM_OPTIONS
} |
| | These values represent the options that can be appended to an Destination name, i.e.
More...
|
| enum | URIParam {
CONNECTION_SENDTIMEOUT,
CONNECTION_PRODUCERWINDOWSIZE,
CONNECTION_CLOSETIMEOUT,
CONNECTION_ALWAYSSYNCSEND,
CONNECTION_USEASYNCSEND,
CONNECTION_USECOMPRESSION,
CONNECTION_DISPATCHASYNC,
PARAM_USERNAME,
PARAM_PASSWORD,
PARAM_CLIENTID,
NUM_PARAMS
} |
| | These values represent the parameters that can be added to the connection URI that affect the ActiveMQ Core API.
More...
|
Static Public Member Functions |
| static const std::string & | toString (const DestinationOption option) |
| static DestinationOption | toDestinationOption (const std::string &option) |
| static const std::string & | toString (const URIParam option) |
| static URIParam | toURIOption (const std::string &option) |
Detailed Description
Class holding constant values for various ActiveMQ specific things Each constant is defined as an enumeration and has functions that convert back an forth between string and enum values.
Member Enumeration Documentation
- Enumerator:
| ACK_TYPE_DELIVERED |
|
| ACK_TYPE_POISON |
|
| ACK_TYPE_CONSUMED |
|
| ACK_TYPE_REDELIVERED |
|
| ACK_TYPE_INDIVIDUAL |
|
- Enumerator:
| DESTINATION_ADD_OPERATION |
|
| DESTINATION_REMOVE_OPERATION |
|
These values represent the options that can be appended to an Destination name, i.e.
/topic/foo?consumer.exclusive=true
- Enumerator:
| CONSUMER_PREFECTCHSIZE |
|
| CUNSUMER_MAXPENDINGMSGLIMIT |
|
| CONSUMER_NOLOCAL |
|
| CONSUMER_DISPATCHASYNC |
|
| CONSUMER_RETROACTIVE |
|
| CONSUMER_SELECTOR |
|
| CONSUMER_EXCLUSIVE |
|
| CONSUMER_PRIORITY |
|
| NUM_OPTIONS |
|
- Enumerator:
| TRANSACTION_STATE_BEGIN |
|
| TRANSACTION_STATE_PREPARE |
|
| TRANSACTION_STATE_COMMITONEPHASE |
|
| TRANSACTION_STATE_COMMITTWOPHASE |
|
| TRANSACTION_STATE_ROLLBACK |
|
| TRANSACTION_STATE_RECOVER |
|
| TRANSACTION_STATE_FORGET |
|
| TRANSACTION_STATE_END |
|
These values represent the parameters that can be added to the connection URI that affect the ActiveMQ Core API.
- Enumerator:
| CONNECTION_SENDTIMEOUT |
|
| CONNECTION_PRODUCERWINDOWSIZE |
|
| CONNECTION_CLOSETIMEOUT |
|
| CONNECTION_ALWAYSSYNCSEND |
|
| CONNECTION_USEASYNCSEND |
|
| CONNECTION_USECOMPRESSION |
|
| CONNECTION_DISPATCHASYNC |
|
| PARAM_USERNAME |
|
| PARAM_PASSWORD |
|
| PARAM_CLIENTID |
|
| NUM_PARAMS |
|
Member Function Documentation
| static DestinationOption activemq::core::ActiveMQConstants::toDestinationOption |
( |
const std::string & |
option |
) |
[inline, static] |
| static const std::string& activemq::core::ActiveMQConstants::toString |
( |
const URIParam |
option |
) |
[inline, static] |
| static const std::string& activemq::core::ActiveMQConstants::toString |
( |
const DestinationOption |
option |
) |
[inline, static] |
| static URIParam activemq::core::ActiveMQConstants::toURIOption |
( |
const std::string & |
option |
) |
[inline, static] |
The documentation for this class was generated from the following file: