#include <Connector.h>
Inheritance diagram for activemq::connector::Connector:
Public Types | |
enum | AckType { DeliveredAck = 0, PoisonAck = 1, ConsumedAck = 2 } |
Public Member Functions | |
virtual | ~Connector (void) |
virtual std::string | getClientId (void) const =0 |
virtual std::string | getUsername (void) const =0 |
virtual std::string | getPassword (void) const =0 |
virtual transport::Transport & | getTransport (void) const =0 throw (exceptions::InvalidStateException ) |
virtual SessionInfo * | createSession (cms::Session::AcknowledgeMode ackMode)=0 throw ( ConnectorException ) |
virtual ConsumerInfo * | createConsumer (const cms::Destination *destination, SessionInfo *session, const std::string &selector="")=0 throw ( ConnectorException ) |
virtual ConsumerInfo * | createDurableConsumer (const cms::Topic *topic, SessionInfo *session, const std::string &name, const std::string &selector="", bool noLocal=false)=0 throw ( ConnectorException ) |
virtual ProducerInfo * | createProducer (const cms::Destination *destination, SessionInfo *session)=0 throw ( ConnectorException ) |
virtual cms::Topic * | createTopic (const std::string &name, SessionInfo *session)=0 throw ( ConnectorException ) |
virtual cms::Queue * | createQueue (const std::string &name, SessionInfo *session)=0 throw ( ConnectorException ) |
virtual cms::TemporaryTopic * | createTemporaryTopic (SessionInfo *session)=0 throw ( ConnectorException ) |
virtual cms::TemporaryQueue * | createTemporaryQueue (SessionInfo *session)=0 throw ( ConnectorException ) |
virtual void | send (cms::Message *message, ProducerInfo *producerInfo)=0 throw ( ConnectorException ) |
virtual void | send (std::list< cms::Message * > &messages, ProducerInfo *producerInfo)=0 throw ( ConnectorException ) |
virtual void | acknowledge (const SessionInfo *session, const cms::Message *message, AckType ackType=ConsumedAck)=0 throw ( ConnectorException ) |
virtual TransactionInfo * | startTransaction (SessionInfo *session)=0 throw ( ConnectorException ) |
virtual void | commit (TransactionInfo *transaction, SessionInfo *session)=0 throw ( ConnectorException ) |
virtual void | rollback (TransactionInfo *transaction, SessionInfo *session)=0 throw ( ConnectorException ) |
virtual cms::Message * | createMessage (SessionInfo *session, TransactionInfo *transaction)=0 throw ( ConnectorException ) |
virtual cms::BytesMessage * | createBytesMessage (SessionInfo *session, TransactionInfo *transaction)=0 throw ( ConnectorException ) |
virtual cms::TextMessage * | createTextMessage (SessionInfo *session, TransactionInfo *transaction)=0 throw ( ConnectorException ) |
virtual cms::MapMessage * | createMapMessage (SessionInfo *session, TransactionInfo *transaction)=0 throw ( ConnectorException ) |
virtual void | unsubscribe (const std::string &name)=0 throw ( ConnectorException ) |
virtual void | destroyResource (ConnectorResource *resource)=0 throw ( ConnectorException ) |
virtual void | setConsumerMessageListener (ConsumerMessageListener *listener)=0 |
virtual void | setExceptionListener (cms::ExceptionListener *listener)=0 |
|
|
|
|
|
Acknowledges a Message
|
|
Commits a Transaction.
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a new BytesMessage.
Implemented in activemq::connector::stomp::StompConnector. |
|
Create a Consumer for the given Session
Implemented in activemq::connector::stomp::StompConnector. |
|
Create a Durable Consumer for the given Session
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a new MapMessage.
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a new Message.
Implemented in activemq::connector::stomp::StompConnector. |
|
Create a Consumer for the given Session
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a Queue given a name and session info
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a Session Info object for this connector
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a Temporary Queue given a name and session info
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a Temporary Topic given a name and session info
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a new TextMessage.
Implemented in activemq::connector::stomp::StompConnector. |
|
Creates a Topic given a name and session info
Implemented in activemq::connector::stomp::StompConnector. |
|
Destroys the given connector resource.
Implemented in activemq::connector::stomp::StompConnector. |
|
Gets the Client Id for this connection, if this connection has been closed, then this method returns ""
Implemented in activemq::connector::stomp::StompConnector. |
|
Gets the Password for this connection, if this connection has been closed, then this method returns ""
Implemented in activemq::connector::stomp::StompConnector. |
|
Gets a reference to the Transport that this connection is using.
Implemented in activemq::connector::stomp::StompConnector. |
|
Gets the Username for this connection, if this connection has been closed, then this method returns ""
Implemented in activemq::connector::stomp::StompConnector. |
|
Rolls back a Transaction.
Implemented in activemq::connector::stomp::StompConnector. |
|
Sends a set of Messages
Implemented in activemq::connector::stomp::StompConnector. |
|
Sends a Message
Implemented in activemq::connector::stomp::StompConnector. |
|
Sets the listener of consumer messages.
Implemented in activemq::connector::stomp::StompConnector. |
|
Sets the Listner of exceptions for this connector
Implemented in activemq::connector::stomp::StompConnector. |
|
Starts a new Transaction.
Implemented in activemq::connector::stomp::StompConnector. |
|
Unsubscribe from a givenDurable Subscription
Implemented in activemq::connector::stomp::StompConnector. |