lintel 0.2.0
Loading...
Searching...
No Matches
MessageQueueComponent.h
Go to the documentation of this file.
1#ifndef LINTEL_MESSAGEQUEUECOMPONENT_H
2#define LINTEL_MESSAGEQUEUECOMPONENT_H
3
4#include <memory>
5
9
10namespace lintel {
13{
14private:
16 static const struct Shapes
17 {
18 const char *const CONFIG_ROOT = "MessageQueues";
19 const char *const MESSAGE_QUEUE_ROOT = "MessageQueue";
20 const char *const MESSAGE_QUEUE_NAME = "name";
21 const char *const MESSAGE_QUEUE_PROCESS_NAME = "process_name";
22 const char *const MESSAGE_QUEUE_MAX_MESSAGES = "max_messages";
23 const char *const MESSAGE_QUEUE_REMOVE_ON_SHUTDOWN = "remove_on_shutdown";
24 } shape;
25
26public:
29
35 std::vector<std::shared_ptr<Entry>>
36 parse(const std::string &content, int32_t lineOffset, const std::string &fileName) override;
37};
38
39}// namespace lintel
40#endif// LINTEL_MESSAGEQUEUECOMPONENT_H
Definition Component.h:13
Definition MessageQueueComponent.h:13
std::vector< std::shared_ptr< Entry > > parse(const std::string &content, int32_t lineOffset, const std::string &fileName) override
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9