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













0















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 helpenter image description here.










share|improve this question






















  • 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















0















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 helpenter image description here.










share|improve this question






















  • 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













0












0








0








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 helpenter image description here.










share|improve this question














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 helpenter image description here.







c# .net rabbitmq brighter






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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












1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer






















    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    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.






    share|improve this answer



























      0














      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.






      share|improve this answer

























        0












        0








        0







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 8 at 7:37









        MickyDMickyD

        11k63354




        11k63354





























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How to get text form Clipboard with JavaScript in Firefox 56?How to validate an email address in JavaScript?How do JavaScript closures work?How do I remove a property from a JavaScript object?How do you get a timestamp in JavaScript?How do I copy to the clipboard in JavaScript?How do I include a JavaScript file in another JavaScript file?Get the current URL with JavaScript?How to replace all occurrences of a string in JavaScriptHow to check whether a string contains a substring in JavaScript?How do I remove a particular element from an array in JavaScript?

            Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

            List of MPs elected to the English parliament in 1640 (April) Contents List of constituencies and members See also Notes References Navigation menueNational Archives – The Glynde Place ArchivesCobbett's Parliamentary history of England, from the Norman Conquest in 1066 to the year 1803'Aldermen in Parliament', The Aldermen of the City of London: Temp. Henry III – 1912onepage&q&f&#61, false 229