How to make sure Rabbit MQ messages are sent with delivery mode “persistent” with Paramore BrighterShould enums in C# have their own file?An ASP.NET setting has been detected that does not apply in Integrated managed pipeline modeDurable RPC with Spring Integration and RabbitMQHow do I set a number of retry attempts in RabbitMQ?RabbitMQ acks immediately(possible confirm confusion)Does RabbitMQ make delivery guarantees if a message is published (confirms-enabled) to a queue with a free consumer?Making sure a message published on a topic exchange is received by at least one consumerCan RabbitMQ tell me how many times a message has been delivered?Will rabbitmq server recover messages for queue marked as durable, when rabbitmq-server gets crashed?Consumer sync in RabbitMQ
Is XSS in canonical link possible?
Database accidentally deleted with a bash script
Journal losing indexing services
Is it possible to have a strip of cold climate in the middle of a planet?
Can a significant change in incentives void an employment contract?
Drawing ramified coverings with tikz
What's the difference between 違法 and 不法?
Open a doc from terminal, but not by its name
Why does Async/Await work properly when the loop is inside the async function and not the other way around?
What is the difference between "Do you interest" and "...interested in" something?
Why is Arduino resetting while driving motors?
Can I use my Chinese passport to enter China after I acquired another citizenship?
Bob has never been a M before
Is a model fitted to data or is data fitted to a model?
Could solar power be utilized and substitute coal in the 19th Century
Drawing a topological "handle" with Tikz
Divine apple island
On a tidally locked planet, would time be quantized?
Why do IPv6 unique local addresses have to have a /48 prefix?
Count the occurrence of each unique word in the file
Reply 'no position' while the job posting is still there
Is camera lens focus an exact point or a range?
Why did the HMS Bounty go back to a time when whales are already rare?
Should I stop contributing to retirement accounts?
How to make sure Rabbit MQ messages are sent with delivery mode “persistent” with Paramore Brighter
Should enums in C# have their own file?An ASP.NET setting has been detected that does not apply in Integrated managed pipeline modeDurable RPC with Spring Integration and RabbitMQHow do I set a number of retry attempts in RabbitMQ?RabbitMQ acks immediately(possible confirm confusion)Does RabbitMQ make delivery guarantees if a message is published (confirms-enabled) to a queue with a free consumer?Making sure a message published on a topic exchange is received by at least one consumerCan RabbitMQ tell me how many times a message has been delivered?Will rabbitmq server recover messages for queue marked as durable, when rabbitmq-server gets crashed?Consumer sync in RabbitMQ
I am using Paramore Brighter.Net for consuming Rabbit Message Queue. I want to set the delivery mode of the message to "persistent". I did no get any property in brighter namespace that can internally set the rabbit mq delivery mode.
RMQMessageGateway class has IModel reference which internally has CreateBasicProperties method which i can use to set the delivery mode property. However the property's access specifier is protected and I am unable to set it. Kindly help
.
c# .net rabbitmq brighter
add a comment |
I am using Paramore Brighter.Net for consuming Rabbit Message Queue. I want to set the delivery mode of the message to "persistent". I did no get any property in brighter namespace that can internally set the rabbit mq delivery mode.
RMQMessageGateway class has IModel reference which internally has CreateBasicProperties method which i can use to set the delivery mode property. However the property's access specifier is protected and I am unable to set it. Kindly help
.
c# .net rabbitmq brighter
Any chance you can post the code instead of a picture?
– MickyD
Mar 8 at 6:31
the code is from Brighter github.com/BrighterCommand/Brighter
– Akshay Gaonkar
Mar 8 at 6:35
add a comment |
I am using Paramore Brighter.Net for consuming Rabbit Message Queue. I want to set the delivery mode of the message to "persistent". I did no get any property in brighter namespace that can internally set the rabbit mq delivery mode.
RMQMessageGateway class has IModel reference which internally has CreateBasicProperties method which i can use to set the delivery mode property. However the property's access specifier is protected and I am unable to set it. Kindly help
.
c# .net rabbitmq brighter
I am using Paramore Brighter.Net for consuming Rabbit Message Queue. I want to set the delivery mode of the message to "persistent". I did no get any property in brighter namespace that can internally set the rabbit mq delivery mode.
RMQMessageGateway class has IModel reference which internally has CreateBasicProperties method which i can use to set the delivery mode property. However the property's access specifier is protected and I am unable to set it. Kindly help
.
c# .net rabbitmq brighter
c# .net rabbitmq brighter
asked Mar 8 at 6:29
Akshay GaonkarAkshay Gaonkar
246115
246115
Any chance you can post the code instead of a picture?
– MickyD
Mar 8 at 6:31
the code is from Brighter github.com/BrighterCommand/Brighter
– Akshay Gaonkar
Mar 8 at 6:35
add a comment |
Any chance you can post the code instead of a picture?
– MickyD
Mar 8 at 6:31
the code is from Brighter github.com/BrighterCommand/Brighter
– Akshay Gaonkar
Mar 8 at 6:35
Any chance you can post the code instead of a picture?
– MickyD
Mar 8 at 6:31
Any chance you can post the code instead of a picture?
– MickyD
Mar 8 at 6:31
the code is from Brighter github.com/BrighterCommand/Brighter
– Akshay Gaonkar
Mar 8 at 6:35
the code is from Brighter github.com/BrighterCommand/Brighter
– Akshay Gaonkar
Mar 8 at 6:35
add a comment |
1 Answer
1
active
oldest
votes
You can take a clone of their code and modify it since their license model is MIT. Channel is actually set inside the ConnectToBroker method so you can make your changes there.
If you don't want to modify their code, you can derive a new class from RMQMessageGateway and override ConnectToBroker. Then do whatever post actions there such as setting the delivery mode.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057861%2fhow-to-make-sure-rabbit-mq-messages-are-sent-with-delivery-mode-persistent-wit%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can take a clone of their code and modify it since their license model is MIT. Channel is actually set inside the ConnectToBroker method so you can make your changes there.
If you don't want to modify their code, you can derive a new class from RMQMessageGateway and override ConnectToBroker. Then do whatever post actions there such as setting the delivery mode.
add a comment |
You can take a clone of their code and modify it since their license model is MIT. Channel is actually set inside the ConnectToBroker method so you can make your changes there.
If you don't want to modify their code, you can derive a new class from RMQMessageGateway and override ConnectToBroker. Then do whatever post actions there such as setting the delivery mode.
add a comment |
You can take a clone of their code and modify it since their license model is MIT. Channel is actually set inside the ConnectToBroker method so you can make your changes there.
If you don't want to modify their code, you can derive a new class from RMQMessageGateway and override ConnectToBroker. Then do whatever post actions there such as setting the delivery mode.
You can take a clone of their code and modify it since their license model is MIT. Channel is actually set inside the ConnectToBroker method so you can make your changes there.
If you don't want to modify their code, you can derive a new class from RMQMessageGateway and override ConnectToBroker. Then do whatever post actions there such as setting the delivery mode.
answered Mar 8 at 7:37
MickyDMickyD
11k63354
11k63354
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057861%2fhow-to-make-sure-rabbit-mq-messages-are-sent-with-delivery-mode-persistent-wit%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Any chance you can post the code instead of a picture?
– MickyD
Mar 8 at 6:31
the code is from Brighter github.com/BrighterCommand/Brighter
– Akshay Gaonkar
Mar 8 at 6:35