21 #ifndef ROUTINGSTRUCTURES_H
22 #define ROUTINGSTRUCTURES_H
24 #include "TransportHelper.h"
25 #include "BatchManager/BatchManager.h"
26 #include "BatchManager/Storages/BatchMQStorage.h"
47 #if defined( TESTDLL_EXPORT ) || defined ( TESTDLL_IMPORT )
48 friend class RoutingStructuresTest;
74 RoutingExitpoint(
const string& serviceName,
long serviceId,
const string& exitpointDefinition );
79 void Commit(
const string& batchId );
80 void Rollback(
const bool isBatch );
82 bool isValid()
const {
return ( m_Queue.size() > 0 ); }
97 void parseExitpointDefinition(
const string& exitpointDefinition );
104 #if defined( TESTDLL_EXPORT ) || defined ( TESTDLL_IMPORT )
105 friend class RoutingStructuresTest;
121 RoutingQueue(
const long queueId,
const string& queueName,
const string& serviceName,
const long serviceId,
const string& queueEP,
const long holdStatus );
128 void setHeld(
const bool holdStatus =
true ){ m_HoldStatus = holdStatus; }
130 long getId()
const {
return m_QueueId; }
131 string getName()
const {
return m_QueueName; }
138 #endif // ROUTINGSTRUCTURES_H