18#ifndef _ACTIVEMQ_CORE_ACTIVEMQXACONNECTIONFACTORY_H_
19#define _ACTIVEMQ_CORE_ACTIVEMQXACONNECTIONFACTORY_H_
51 const std::string& username =
"",
52 const std::string& password =
"");
61 const std::string& username =
"",
62 const std::string& password =
"");
69 const std::string& password);
#define AMQCPP_API
Definition: Config.h:30
Definition: ActiveMQConnectionFactory.h:40
Concrete connection used for all connectors to the ActiveMQ broker.
Definition: ActiveMQConnection.h:62
Definition: ActiveMQXAConnectionFactory.h:34
ActiveMQXAConnectionFactory()
virtual cms::XAConnection * createXAConnection()
Creates an XAConnection with the default user name and password.
virtual ActiveMQConnection * createActiveMQConnection(const Pointer< transport::Transport > &transport, const Pointer< decaf::util::Properties > &properties)
Create a new ActiveMQConnection instnace using the provided Transport and Properties.
virtual ~ActiveMQXAConnectionFactory()
virtual cms::XAConnection * createXAConnection(const std::string &userName, const std::string &password)
Creates an XA connection with the specified user name and password.
ActiveMQXAConnectionFactory(const decaf::net::URI &uri, const std::string &username="", const std::string &password="")
Constructor.
ActiveMQXAConnectionFactory(const std::string &uri, const std::string &username="", const std::string &password="")
Constructor.
The XAConnectionFactory interface is specialized interface that defines an ConnectionFactory that cre...
Definition: XAConnectionFactory.h:47
The XAConnection interface defines an extended Connection type that is used to create XASession objec...
Definition: XAConnection.h:37
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
This class represents an instance of a URI as defined by RFC 2396.
Definition: URI.h:37
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24