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

            Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

            Posting a File and Associated Data to a RESTful WebService preferably as JSON2019 Community Moderator ElectionREST URI convention - Singular or plural name of resource while creating itUploading both data and files in one form using Ajax?How do I upload a file with metadata using a REST web service?REST API - file (ie images) processing - best practicesSpring: JSON data and file in the same requestREST API Put large dataPosting a file and JSON data to Spring rest serviceRESTful Web Service Upload/Download Large Data With JSONREST API Design sending JSON data and a file to the api in same requestPost JSONArray to REST servicePUT vs. POST in RESTParsing values from a JSON file?JavaScript/jQuery to download file via POST with JSON dataHow do I upload a file with metadata using a REST web service?How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?Separate REST JSON API server and client?what's the correct way to send a file from REST web service to client?How do I write JSON data to a file?What is “406-Not Acceptable Response” in HTTP?REST API - file (ie images) processing - best practices

            How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page