activemq-cpp-3.9.5
StompCommandConstants.h
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17#ifndef _ACTIVEMQ_WIREFORMAT_STOMP_STOMPCOMMANDCONSTANTS_H_
18#define _ACTIVEMQ_WIREFORMAT_STOMP_STOMPCOMMANDCONSTANTS_H_
19
20#include <cms/Destination.h>
23
24#include <string>
25#include <map>
26
27namespace activemq{
28namespace wireformat{
29namespace stomp{
30
32 public:
33
34 // Stomp Command Ids
35 static const std::string CONNECT;
36 static const std::string CONNECTED;
37 static const std::string DISCONNECT;
38 static const std::string SUBSCRIBE;
39 static const std::string UNSUBSCRIBE;
40 static const std::string MESSAGE;
41 static const std::string SEND;
42 static const std::string BEGIN;
43 static const std::string COMMIT;
44 static const std::string ABORT;
45 static const std::string ACK;
46 static const std::string ERROR_CMD;
47 static const std::string RECEIPT;
48
49 // Known Stomp Headers
50 static const std::string HEADER_DESTINATION;
51 static const std::string HEADER_TRANSACTIONID;
52 static const std::string HEADER_CONTENTLENGTH;
53 static const std::string HEADER_SESSIONID;
54 static const std::string HEADER_RECEIPT_REQUIRED;
55 static const std::string HEADER_RECEIPTID;
56 static const std::string HEADER_MESSAGEID;
57 static const std::string HEADER_ACK;
58 static const std::string HEADER_LOGIN;
59 static const std::string HEADER_PASSWORD;
60 static const std::string HEADER_CLIENT_ID;
61 static const std::string HEADER_MESSAGE;
62 static const std::string HEADER_CORRELATIONID;
63 static const std::string HEADER_REQUESTID;
64 static const std::string HEADER_RESPONSEID;
65 static const std::string HEADER_EXPIRES;
66 static const std::string HEADER_PERSISTENT;
67 static const std::string HEADER_REPLYTO;
68 static const std::string HEADER_TYPE;
69 static const std::string HEADER_DISPATCH_ASYNC;
70 static const std::string HEADER_EXCLUSIVE;
71 static const std::string HEADER_MAXPENDINGMSGLIMIT;
72 static const std::string HEADER_NOLOCAL;
73 static const std::string HEADER_PREFETCHSIZE;
74 static const std::string HEADER_JMSPRIORITY;
75 static const std::string HEADER_CONSUMERPRIORITY;
76 static const std::string HEADER_RETROACTIVE;
77 static const std::string HEADER_SUBSCRIPTIONNAME;
78 static const std::string HEADER_OLDSUBSCRIPTIONNAME;
79 static const std::string HEADER_TIMESTAMP;
80 static const std::string HEADER_REDELIVERED;
81 static const std::string HEADER_REDELIVERYCOUNT;
82 static const std::string HEADER_SELECTOR;
83 static const std::string HEADER_ID;
84 static const std::string HEADER_SUBSCRIPTION;
85 static const std::string HEADER_TRANSFORMATION;
86 static const std::string HEADER_TRANSFORMATION_ERROR;
87
88 // Stomp Ack Modes
89 static const std::string ACK_CLIENT;
90 static const std::string ACK_AUTO;
91 static const std::string ACK_INDIVIDUAL;
92
93 // Supported Stomp Message Types
94 static const std::string TEXT;
95 static const std::string BYTES;
96
97 // Prefix Id's for Topics and Queues
98 static const std::string QUEUE_PREFIX;
99 static const std::string TOPIC_PREFIX;
100 static const std::string TEMPQUEUE_PREFIX;
101 static const std::string TEMPTOPIC_PREFIX;
102
103 };
104
105}}}
106
107#endif /*_ACTIVEMQ_WIREFORMAT_STOMP_COMMANDS_COMMANDCONSTANTS_H_*/
#define AMQCPP_API
Definition Config.h:30
Definition StompCommandConstants.h:31
static const std::string HEADER_NOLOCAL
Definition StompCommandConstants.h:72
static const std::string DISCONNECT
Definition StompCommandConstants.h:37
static const std::string HEADER_MESSAGE
Definition StompCommandConstants.h:61
static const std::string TEMPTOPIC_PREFIX
Definition StompCommandConstants.h:101
static const std::string HEADER_CLIENT_ID
Definition StompCommandConstants.h:60
static const std::string HEADER_ID
Definition StompCommandConstants.h:83
static const std::string SEND
Definition StompCommandConstants.h:41
static const std::string SUBSCRIBE
Definition StompCommandConstants.h:38
static const std::string ACK
Definition StompCommandConstants.h:45
static const std::string HEADER_TYPE
Definition StompCommandConstants.h:68
static const std::string HEADER_SUBSCRIPTION
Definition StompCommandConstants.h:84
static const std::string CONNECTED
Definition StompCommandConstants.h:36
static const std::string HEADER_SUBSCRIPTIONNAME
Definition StompCommandConstants.h:77
static const std::string HEADER_OLDSUBSCRIPTIONNAME
Definition StompCommandConstants.h:78
static const std::string HEADER_ACK
Definition StompCommandConstants.h:57
static const std::string ACK_INDIVIDUAL
Definition StompCommandConstants.h:91
static const std::string HEADER_TRANSFORMATION_ERROR
Definition StompCommandConstants.h:86
static const std::string HEADER_CONTENTLENGTH
Definition StompCommandConstants.h:52
static const std::string HEADER_LOGIN
Definition StompCommandConstants.h:58
static const std::string HEADER_JMSPRIORITY
Definition StompCommandConstants.h:74
static const std::string TEXT
Definition StompCommandConstants.h:94
static const std::string HEADER_MAXPENDINGMSGLIMIT
Definition StompCommandConstants.h:71
static const std::string HEADER_PASSWORD
Definition StompCommandConstants.h:59
static const std::string HEADER_REPLYTO
Definition StompCommandConstants.h:67
static const std::string HEADER_REDELIVERED
Definition StompCommandConstants.h:80
static const std::string HEADER_CORRELATIONID
Definition StompCommandConstants.h:62
static const std::string HEADER_TRANSACTIONID
Definition StompCommandConstants.h:51
static const std::string BYTES
Definition StompCommandConstants.h:95
static const std::string TOPIC_PREFIX
Definition StompCommandConstants.h:99
static const std::string MESSAGE
Definition StompCommandConstants.h:40
static const std::string HEADER_SELECTOR
Definition StompCommandConstants.h:82
static const std::string ACK_AUTO
Definition StompCommandConstants.h:90
static const std::string TEMPQUEUE_PREFIX
Definition StompCommandConstants.h:100
static const std::string ERROR_CMD
Definition StompCommandConstants.h:46
static const std::string COMMIT
Definition StompCommandConstants.h:43
static const std::string HEADER_RECEIPT_REQUIRED
Definition StompCommandConstants.h:54
static const std::string HEADER_RESPONSEID
Definition StompCommandConstants.h:64
static const std::string UNSUBSCRIBE
Definition StompCommandConstants.h:39
static const std::string ABORT
Definition StompCommandConstants.h:44
static const std::string HEADER_REQUESTID
Definition StompCommandConstants.h:63
static const std::string HEADER_MESSAGEID
Definition StompCommandConstants.h:56
static const std::string HEADER_RETROACTIVE
Definition StompCommandConstants.h:76
static const std::string RECEIPT
Definition StompCommandConstants.h:47
static const std::string HEADER_RECEIPTID
Definition StompCommandConstants.h:55
static const std::string CONNECT
Definition StompCommandConstants.h:35
static const std::string HEADER_TIMESTAMP
Definition StompCommandConstants.h:79
static const std::string HEADER_DISPATCH_ASYNC
Definition StompCommandConstants.h:69
static const std::string QUEUE_PREFIX
Definition StompCommandConstants.h:98
static const std::string HEADER_EXCLUSIVE
Definition StompCommandConstants.h:70
static const std::string HEADER_PREFETCHSIZE
Definition StompCommandConstants.h:73
static const std::string HEADER_DESTINATION
Definition StompCommandConstants.h:50
static const std::string HEADER_CONSUMERPRIORITY
Definition StompCommandConstants.h:75
static const std::string HEADER_SESSIONID
Definition StompCommandConstants.h:53
static const std::string HEADER_PERSISTENT
Definition StompCommandConstants.h:66
static const std::string HEADER_EXPIRES
Definition StompCommandConstants.h:65
static const std::string BEGIN
Definition StompCommandConstants.h:42
static const std::string HEADER_TRANSFORMATION
Definition StompCommandConstants.h:85
static const std::string ACK_CLIENT
Definition StompCommandConstants.h:89
static const std::string HEADER_REDELIVERYCOUNT
Definition StompCommandConstants.h:81
Definition StompCommandConstants.h:29
Definition BaseDataStructure.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24