pulsar-client-cpp
Loading...
Searching...
No Matches
DeadLetterPolicyBuilder.h
1
19#ifndef DEAD_LETTER_POLICY_BUILD_HPP_
20#define DEAD_LETTER_POLICY_BUILD_HPP_
21
22#include <pulsar/DeadLetterPolicy.h>
23#include <pulsar/defines.h>
24
25#include <memory>
26
27namespace pulsar {
28
29struct DeadLetterPolicyImpl;
30
44class PULSAR_PUBLIC DeadLetterPolicyBuilder {
45 public:
47
56 DeadLetterPolicyBuilder& deadLetterTopic(const std::string& deadLetterTopic);
57
69
80 DeadLetterPolicyBuilder& initialSubscriptionName(const std::string& initialSubscriptionName);
81
88
89 private:
90 std::shared_ptr<DeadLetterPolicyImpl> impl_;
91};
92} // namespace pulsar
93
94#endif /* DEAD_LETTER_POLICY_BUILD_HPP_ */
Definition DeadLetterPolicyBuilder.h:44
DeadLetterPolicyBuilder & deadLetterTopic(const std::string &deadLetterTopic)
DeadLetterPolicyBuilder & initialSubscriptionName(const std::string &initialSubscriptionName)
DeadLetterPolicyBuilder & maxRedeliverCount(int maxRedeliverCount)
Definition DeadLetterPolicy.h:36
Definition Authentication.h:31