Utility Methods used when marshaling to and from StompFrame's.
More...
#include <src/main/activemq/wireformat/stomp/StompHelper.h>
Utility Methods used when marshaling to and from StompFrame's.
- Since
- 3.0
◆ StompHelper()
activemq::wireformat::stomp::StompHelper::StompHelper |
( |
StompWireFormat * | wireFormat | ) |
|
◆ ~StompHelper()
virtual activemq::wireformat::stomp::StompHelper::~StompHelper |
( |
| ) |
|
|
virtual |
◆ convertConsumerId() [1/2]
std::string activemq::wireformat::stomp::StompHelper::convertConsumerId |
( |
const Pointer< ConsumerId > & | consumerId | ) |
|
Converts a ConsumerId instance to a Stomp ConsumerId String.
- Parameters
-
consumerId | - the Consumer instance to convert. |
- Returns
- a Stomp Consumer Id String.
◆ convertConsumerId() [2/2]
Pointer< ConsumerId > activemq::wireformat::stomp::StompHelper::convertConsumerId |
( |
const std::string & | consumerId | ) |
|
◆ convertDestination() [1/2]
Converts from a ActiveMQDestination to a Stomp Destination Name.
- Parameters
-
- Returns
- the Stomp String name that defines the destination.
◆ convertDestination() [2/2]
◆ convertMessageId() [1/2]
std::string activemq::wireformat::stomp::StompHelper::convertMessageId |
( |
const Pointer< MessageId > & | messageId | ) |
|
◆ convertMessageId() [2/2]
Pointer< MessageId > activemq::wireformat::stomp::StompHelper::convertMessageId |
( |
const std::string & | messageId | ) |
|
◆ convertProducerId() [1/2]
std::string activemq::wireformat::stomp::StompHelper::convertProducerId |
( |
const Pointer< ProducerId > & | producerId | ) |
|
Converts a ProducerId instance to a Stomp ProducerId String.
- Parameters
-
producerId | - the Producer instance to convert. |
- Returns
- a Stomp Producer Id String.
◆ convertProducerId() [2/2]
Pointer< ProducerId > activemq::wireformat::stomp::StompHelper::convertProducerId |
( |
const std::string & | producerId | ) |
|
◆ convertProperties() [1/2]
Converts the Properties in a Message Command to Valid Headers and Properties in the StompFrame.
- Parameters
-
message | - The message to move the Headers to. |
frame | - The frame to extract headers from. |
◆ convertProperties() [2/2]
Converts the Headers in a Stomp Frame into Headers in the given Message Command.
- Parameters
-
frame | - The frame to extract headers from. |
message | - The message to move the Headers to. |
◆ convertTransactionId() [1/2]
Converts a TransactionId instance to a Stomp TransactionId String.
- Parameters
-
transactionId | - the Transaction instance to convert. |
- Returns
- a Stomp Transaction Id String.
◆ convertTransactionId() [2/2]
The documentation for this class was generated from the following file: