#include <SubscribeCommand.h>
Inheritance diagram for activemq::connector::stomp::commands::SubscribeCommand:
Public Member Functions | |
SubscribeCommand (void) | |
SubscribeCommand (StompFrame *frame) | |
virtual | ~SubscribeCommand (void) |
virtual const char * | getDestination (void) const |
virtual void | setDestination (const std::string &destination) |
virtual void | setAckMode (const CommandConstants::AckMode mode) |
virtual CommandConstants::AckMode | getAckMode (void) const |
virtual void | setMessageSelector (const std::string &selector) |
virtual const char * | getMessageSelector (void) const |
virtual void | setSubscriptionName (const std::string &name) |
virtual const char * | getSubscriptionName (void) const |
virtual bool | getNoLocal (void) const |
virtual void | setNoLocal (bool noLocal) |
virtual bool | getDispatchAsync (void) const |
virtual void | setDispatchAsync (bool dispatchAsync) |
virtual bool | getExclusive (void) const |
virtual void | setExclusive (bool exclusive) |
virtual int | getMaxPendingMsgLimit (void) const |
virtual void | setMaxPendingMsgLimit (int limit) |
virtual int | getPrefetchSize (void) const |
virtual void | setPrefetchSize (int size) |
virtual int | getPriority (void) const |
virtual void | setPriority (int priority) |
virtual bool | getRetroactive (void) const |
virtual void | setRetroactive (bool retroactive) |
Protected Member Functions | |
virtual void | initialize (StompFrame &frame) |
virtual bool | validate (const StompFrame &frame) const |
|
|
|
|
|
|
|
Get the Ack Mode of this Subscription
|
|
Get the destination
|
|
Sets whether or not the broker is to dispatch messages in an asynchronous manner. Set to true if you want Async.
|
|
Gets whether or not this consumer is an exclusive consumer for this destination.
|
|
Get the max number of pending messages on a destination For Slow Consumer Handlingon non-durable topics by dropping old messages - we can set a maximum pending limit which once a slow consumer backs up to this high water mark we begin to discard old messages
|
|
Gets the Message Selector that is associated with this subscribe request
|
|
Gets whether or not locally sent messages should be ignored for subscriptions. Set to true to filter out locally sent messages
|
|
Get the maximum number of pending messages that will be dispatched to the client. Once this maximum is reached no more messages are dispatched until the client acknowledges a message. Set to 1 for very fair distribution of messages across consumers where processing messages can be slow
|
|
Gets the priority of the consumer so that dispatching can be weighted in priority order
|
|
Get For non-durable topics if this subscription is set to be retroactive
|
|
Gets the Subscription Name that is associated with this subscribe request
|
|
Inheritors are required to override this method to init the frame with data appropriate for the command type.
Implements activemq::connector::stomp::commands::AbstractCommand< transport::Command >. |
|
Set the Ack Mode of this Subscription
|
|
Set the destination
|
|
Sets whether or not the broker is to dispatch messages in an asynchronous manner. Set to true if you want Async.
|
|
Sets whether or not this consumer is an exclusive consumer for this destination.
|
|
Set the max number of pending messages on a destination For Slow Consumer Handlingon non-durable topics by dropping old messages - we can set a maximum pending limit which once a slow consumer backs up to this high water mark we begin to discard old messages
|
|
Sets the Message Selector that is associated with this subscribe request
|
|
Sets whether or not locally sent messages should be ignored for subscriptions. Set to true to filter out locally sent messages
|
|
Set the maximum number of pending messages that will be dispatched to the client. Once this maximum is reached no more messages are dispatched until the client acknowledges a message. Set to 1 for very fair distribution of messages across consumers where processing messages can be slow
|
|
Sets the priority of the consumer so that dispatching can be weighted in priority order
|
|
Set For non-durable topics if this subscription is set to be retroactive
|
|
Sets the Subscription Name that is associated with this subscribe request
|
|
Inheritors are required to override this method to validate the passed stomp frame before it is marshalled or unmarshaled
Implements activemq::connector::stomp::commands::AbstractCommand< transport::Command >. |