Author: tabish
Date: Mon Nov 24 15:10:00 2008
New Revision: 720330
URL: http://svn.apache.org/viewvc?rev=720330&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-208
Add AMQCPP_API to Stomp commands
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbortCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbstractCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AckCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BeginCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommandConstants.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommitCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectedCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/DisconnectCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ErrorCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/MessageCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ReceiptCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompMessage.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/SubscribeCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/TextMessageCommand.h
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/UnsubscribeCommand.h
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbortCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbortCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbortCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbortCommand.h
Mon Nov 24 15:10:00 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ABORTCOMMAND_H_
#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ABORTCOMMAND_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Command.h>
@@ -31,7 +32,7 @@
* Represents the Stomp Abort Command which rolls back a
* transaction in progress.
*/
- class AbortCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API AbortCommand : public AbstractCommand< transport::Command
> {
public:
AbortCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbstractCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbstractCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbstractCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AbstractCommand.h
Mon Nov 24 15:10:00 2008
@@ -18,13 +18,13 @@
#ifndef ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ABSTRACTCOMMAND_H_
#define ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ABSTRACTCOMMAND_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/stomp/StompFrame.h>
#include <activemq/connector/stomp/commands/StompCommand.h>
#include <activemq/transport/Command.h>
#include <decaf/lang/exceptions/NullPointerException.h>
#include <decaf/lang/Integer.h>
#include <decaf/lang/Long.h>
-#include <activemq/util/Config.h>
#include <decaf/lang/Character.h>
#include <typeinfo>
#include <sstream>
@@ -43,8 +43,7 @@
* more user-friendly interface to the frame content.
*/
template<typename T>
- class AbstractCommand : public StompCommand,
- public T {
+ class AMQCPP_API AbstractCommand : public StompCommand, public T {
protected:
// Frame that contains the actual message
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AckCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AckCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AckCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/AckCommand.h
Mon Nov 24 15:10:00 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNCETOR_STOMP_COMMANDS_ACKCOMMAND_H_
#define _ACTIVEMQ_CONNCETOR_STOMP_COMMANDS_ACKCOMMAND_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Command.h>
@@ -28,14 +29,14 @@
namespace commands{
/**
- * Stomp Command that Represents Acknowledgement of a message
+ * Stomp Command that Represents Acknowledgment of a message
* receive. The Ack Command has one required attribute, message
* Id. For each message sent to the client from the broker, the
* message will not be considered consumed until an Ack is sent.
* Optionally a Transaction Id can be set that indicates that the
- * message acknowledgement should be part of a named transaction.
+ * message acknowledgment should be part of a named transaction.
*/
- class AckCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API AckCommand : public AbstractCommand< transport::Command >
{
public:
AckCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BeginCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BeginCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BeginCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BeginCommand.h
Mon Nov 24 15:10:00 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_BEGINCOMMAND_H_
#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_BEGINCOMMAND_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Command.h>
@@ -36,7 +37,7 @@
* A transaction Identifier is required and this id will be used
* for all sends, commits, aborts, or acks.
*/
- class BeginCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API BeginCommand : public AbstractCommand< transport::Command
> {
public:
BeginCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/BytesMessageCommand.h
Mon Nov 24 15:10:00 2008
@@ -19,6 +19,7 @@
#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_BYTESMESSAGECOMMAND_H_
#include <cms/BytesMessage.h>
+#include <activemq/util/Config.h>
#include <activemq/connector/stomp/commands/StompMessage.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/exceptions/ActiveMQException.h>
@@ -38,7 +39,7 @@
* class StompMessage to implement all cms::Message type functionality
* and implements the BytesMessage interface here.
*/
- class BytesMessageCommand : public StompMessage< cms::BytesMessage > {
+ class AMQCPP_API BytesMessageCommand : public StompMessage<
cms::BytesMessage > {
private:
/**
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommandConstants.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommandConstants.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommandConstants.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommandConstants.h
Mon Nov 24 15:10:00 2008
@@ -18,6 +18,7 @@
#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_COMMANDCONSTANTS_H_
#include <cms/Destination.h>
+#include <activemq/util/Config.h>
#include <decaf/lang/exceptions/IllegalArgumentException.h>
#include <string>
@@ -28,7 +29,7 @@
namespace stomp{
namespace commands{
- class CommandConstants{
+ class AMQCPP_API CommandConstants{
public:
enum CommandId{
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommitCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommitCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommitCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/CommitCommand.h
Mon Nov 24 15:10:00 2008
@@ -18,6 +18,7 @@
#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_COMMITCOMMAND_H_
#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_COMMITCOMMAND_H_
+#include <activemq/util/Config.h>
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Command.h>
@@ -31,7 +32,7 @@
/**
* Commits a Transaction.
*/
- class CommitCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API CommitCommand : public AbstractCommand<
transport::Command > {
public:
CommitCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectCommand.h
Mon Nov 24 15:10:00 2008
@@ -21,6 +21,7 @@
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Command.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
@@ -30,7 +31,7 @@
/**
* Message sent to the broker to connect.
*/
- class ConnectCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API ConnectCommand : public AbstractCommand<
transport::Command > {
public:
ConnectCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectedCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectedCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectedCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ConnectedCommand.h
Mon Nov 24 15:10:00 2008
@@ -21,6 +21,7 @@
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Response.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
@@ -31,7 +32,7 @@
* The stomp command returned from the broker indicating
* a connection has been established.
*/
- class ConnectedCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API ConnectedCommand : public AbstractCommand<
transport::Command > {
public:
ConnectedCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/DisconnectCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/DisconnectCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/DisconnectCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/DisconnectCommand.h
Mon Nov 24 15:10:00 2008
@@ -21,6 +21,7 @@
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Command.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
@@ -31,7 +32,7 @@
* Sent to the broker to disconnect gracefully before closing
* the transport.
*/
- class DisconnectCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API DisconnectCommand : public AbstractCommand<
transport::Command > {
public:
DisconnectCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ErrorCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ErrorCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ErrorCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ErrorCommand.h
Mon Nov 24 15:10:00 2008
@@ -31,8 +31,7 @@
* Message sent from the broker when an error
* occurs.
*/
- class ErrorCommand : public AbstractCommand< transport::Command >
- {
+ class AMQCPP_API ErrorCommand : public AbstractCommand< transport::Command
> {
public:
ErrorCommand() :
@@ -122,8 +121,8 @@
(frame.getProperties().hasProperty(
CommandConstants::toString(
CommandConstants::HEADER_MESSAGE ) ) ) ) {
-
- return true;
+
+ return true;
}
return false;
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/MessageCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/MessageCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/MessageCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/MessageCommand.h
Mon Nov 24 15:10:00 2008
@@ -21,6 +21,7 @@
#include <cms/Message.h>
#include <activemq/connector/stomp/commands/StompMessage.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
@@ -31,7 +32,7 @@
* Message command which represents a ActiveMQMessage with no body
* can be sent or recieved.
*/
- class MessageCommand : public StompMessage< cms::Message > {
+ class AMQCPP_API MessageCommand : public StompMessage< cms::Message > {
public:
MessageCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ReceiptCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ReceiptCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ReceiptCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/ReceiptCommand.h
Mon Nov 24 15:10:00 2008
@@ -21,6 +21,7 @@
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Response.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
@@ -31,7 +32,7 @@
* Message sent from the Broker when a receipt is requested
* for messages that are sent.
*/
- class ReceiptCommand : public AbstractCommand< transport::Response > {
+ class AMQCPP_API ReceiptCommand : public AbstractCommand<
transport::Response > {
public:
ReceiptCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompCommand.h
Mon Nov 24 15:10:00 2008
@@ -21,13 +21,14 @@
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/connector/stomp/marshal/Marshalable.h>
#include <activemq/connector/stomp/marshal/MarshalException.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
namespace stomp{
namespace commands{
- class StompCommand : public marshal::Marshalable {
+ class AMQCPP_API StompCommand : public marshal::Marshalable {
protected:
/**
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompMessage.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompMessage.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompMessage.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/StompMessage.h
Mon Nov 24 15:10:00 2008
@@ -24,6 +24,7 @@
#include <activemq/transport/Command.h>
#include <activemq/connector/stomp/StompTopic.h>
#include <activemq/exceptions/ActiveMQException.h>
+#include <activemq/util/Config.h>
#include <decaf/lang/exceptions/IllegalArgumentException.h>
#include <decaf/lang/exceptions/NoSuchElementException.h>
@@ -51,7 +52,7 @@
* ActiveMQMessage interface.
*/
template<typename T>
- class StompMessage :
+ class AMQCPP_API StompMessage :
public AbstractCommand< transport::Command >,
public T,
public core::ActiveMQMessage
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/SubscribeCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/SubscribeCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/SubscribeCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/SubscribeCommand.h
Mon Nov 24 15:10:00 2008
@@ -21,6 +21,7 @@
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Command.h>
+#include <activemq/util/Config.h>
#include <decaf/lang/Boolean.h>
namespace activemq{
@@ -32,7 +33,7 @@
* Command sent to the broker to subscribe to a topic
* or queue.
*/
- class SubscribeCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API SubscribeCommand : public AbstractCommand<
transport::Command > {
public:
SubscribeCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/TextMessageCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/TextMessageCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/TextMessageCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/TextMessageCommand.h
Mon Nov 24 15:10:00 2008
@@ -19,6 +19,7 @@
#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_TEXTMESSAGECOMMAND_H_
#include <cms/TextMessage.h>
+#include <activemq/util/Config.h>
#include <activemq/connector/stomp/commands/StompMessage.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <string.h>
@@ -28,7 +29,7 @@
namespace stomp{
namespace commands{
- class TextMessageCommand : public StompMessage< cms::TextMessage > {
+ class AMQCPP_API TextMessageCommand : public StompMessage<
cms::TextMessage > {
public:
TextMessageCommand() :
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/UnsubscribeCommand.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/UnsubscribeCommand.h?rev=720330&r1=720329&r2=720330&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/UnsubscribeCommand.h
(original)
+++
activemq/activemq-cpp/trunk/src/main/activemq/connector/stomp/commands/UnsubscribeCommand.h
Mon Nov 24 15:10:00 2008
@@ -21,6 +21,7 @@
#include <activemq/connector/stomp/commands/AbstractCommand.h>
#include <activemq/connector/stomp/commands/CommandConstants.h>
#include <activemq/transport/Command.h>
+#include <activemq/util/Config.h>
namespace activemq{
namespace connector{
@@ -31,7 +32,7 @@
* Command sent to the broker to unsubscribe to a
* topic or queue.
*/
- class UnsubscribeCommand : public AbstractCommand< transport::Command > {
+ class AMQCPP_API UnsubscribeCommand : public AbstractCommand<
transport::Command > {
public:
UnsubscribeCommand() :