{"id":24188,"date":"2015-07-28T18:45:55","date_gmt":"2015-07-28T13:15:55","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=24188"},"modified":"2015-07-29T16:30:24","modified_gmt":"2015-07-29T11:00:24","slug":"sending-scheduleddelayed-messages-with-rabbitmq-through-java-client","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/","title":{"rendered":"Sending Scheduled\/delayed messages with RabbitMQ through java client"},"content":{"rendered":"<p>The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed <a href=\"http:\/\/www.tothenew.com\/blog\/few-simple-steps-for-integrating-rabbit-mq-with-grails\/\">messages from RabbitMQ<\/a> with &#8220;rabbitmq_delayed_message_exchange&#8221; plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :-<\/p>\n<p><strong>Step 1<\/strong>&#8211; Install rabbitMQ server to 3.5.3 or above on your machine. Follow this guide to install rabbitMQ <a href=\"http:\/\/www.rabbitmq.com\/download.html\" target=\"_blank\">http:\/\/www.rabbitmq.com\/download.html<\/a><\/p>\n<p><strong>Step 2\u00a0<\/strong>&#8211; Download &#8220;rabbitmq_delayed_message_exchange&#8221; plugin from rabbitMQ official website. Follow this link to download &#8220;rabbitmq_delayed_message_exchange&#8221; <a href=\"http:\/\/www.rabbitmq.com\/community-plugins.html\" target=\"_blank\">http:\/\/www.rabbitmq.com\/community-plugins.html<\/a><\/p>\n<p><strong>Step 3\u00a0<\/strong>&#8211; Place &#8220;rabbitmq_delayed_message_exchange&#8221; plugin into plugins directory of rabbitMQ server directory (in linux &#8216;\/usr\/lib\/rabbitmq\/lib\/rabbitmq_server-3.5.3\/plugins&#8217; path)<\/p>\n<p><strong>Step 4\u00a0<\/strong>&#8211; Execute &#8220;rabbitmq-plugins enable rabbitmq_delayed_message_exchange&#8221; command to enable &#8220;rabbitmq_delayed_message_exchange&#8221; plugin.<\/p>\n<p><strong>Step 5\u00a0<\/strong>&#8211; Now, after configuring rabbitMQ server we are ready to send scheduled or delayed messages. To send scheduled message we have to declare an exchange with &#8216;x-delayed-message&#8217; which is indirectly mapped with the any of the exchange types i.e topic,direct,fanout or headers.<br \/>\nFollow this code to publish message to delayed exchange:-<\/p>\n<p>[java]<br \/>\n String readyToPushContent = &quot;Hello this is the delayed message.&quot;;<\/p>\n<p>Map&lt;String, Object&gt; args = new HashMap&lt;String, Object&gt;();<br \/>\n args.put(&quot;x-delayed-type&quot;, &quot;direct&quot;);<br \/>\n channel.exchangeDeclare(&quot;exChangeName&quot;, &quot;x-delayed-message&quot;, true, false, args);<\/p>\n<p>Map&lt;String, Object&gt; headers = new HashMap&lt;String, Object&gt;()<br \/>\n headers.put(&quot;x-delay&quot;, 10000); \/\/delay in miliseconds i.e 10secs<\/p>\n<p>AMQP.BasicProperties.Builder props = new AMQP.BasicProperties.Builder().headers(headers);<br \/>\n channel.basicPublish(&quot;exChangeName&quot;, &quot;&quot;, props.build(), readyToPushContent.bytes);<\/p>\n<p>[\/java]<\/p>\n<p><strong>a.<\/strong> This plugin allows flexible routing behavior via &#8220;x-delayed-type&#8221; which can be passed at the time of\u00a0\u00a0exchange declaration. \u00a0i.e \u00a0this exchange will provide routing behavior like &#8220;direct&#8221; exchange, and exchange with type &#8220;x-delayed-message&#8221; will act as proxy.<\/p>\n<p><strong>b.<\/strong> Here we declare an exchange with &#8220;x-delayed-message&#8221; type. Then we attach a header with &#8220;x-delay&#8221; at the time of publish message, \u00a0which accepts integer value \u00a0as time (in milliseconds).<\/p>\n<p><strong>Step 6\u00a0<\/strong>&#8211; To Subscribe message from delayed exchange follow this code :-<\/p>\n<p>[java]<br \/>\n QueueingConsumer queueingConsumer = new QueueingConsumer(channel) \/\/ creating a consumer from channel<\/p>\n<p>Map&lt;String, Object&gt; args = new HashMap&lt;String, Object&gt;();<br \/>\n args.put(&quot;x-delayed-type&quot;, &quot;direct&quot;);<br \/>\n channel.exchangeDeclare(&quot;exChangeName&quot;, &quot;x-delayed-message&quot;, true, false, args); \/\/ declare delayed exchange<\/p>\n<p>String queueName = channel.queueDeclare().getQueue(); \/\/ declaring dynamic queue in channel<\/p>\n<p>channel.queueBind(queueName, &quot;exChangeName&quot;, &quot;&quot;); \/\/ binding queue with delayed exchnage<\/p>\n<p>channel.basicConsume(queueName, true, queueingConsumer) \/\/ consuming message from queue in consumer object<\/p>\n<p>try {<br \/>\n QueueingConsumer.Delivery delivery = queueingConsumer.nextDelivery() \/\/ <\/p>\n<p> String message = (new String(delivery.getBody()))<\/p>\n<p> } catch (Exception exception) {<br \/>\n exception.printStackTrace()<\/p>\n<p>}<br \/>\n[\/java]<\/p>\n<p>Hope, this will help you to send scheduled\/delayed messages with rabbitMQ.<br \/>\nBouquets and brickbats are welcome.<\/p>\n<p>~vishal(d0t)kumar(at)tothenew(d0t)com~<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed messages from RabbitMQ with &#8220;rabbitmq_delayed_message_exchange&#8221; plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :- Step 1&#8211; Install rabbitMQ [&hellip;]<\/p>\n","protected":false},"author":250,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":32,"footnotes":""},"categories":[7,446,1],"tags":[2049,4844,1077],"class_list":["post-24188","post","type-post","status-publish","format-standard","hentry","category-grails","category-java","category-technology","tag-gails","tag-java","tag-rabbitmq"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed messages from RabbitMQ with &quot;rabbitmq_delayed_message_exchange&quot; plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :- Step 1- Install rabbitMQ\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Vishal Kumar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Sending Scheduled\/delayed messages with RabbitMQ through java client | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed messages from RabbitMQ with &quot;rabbitmq_delayed_message_exchange&quot; plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :- Step 1- Install rabbitMQ\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Sending Scheduled\/delayed messages with RabbitMQ through java client | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed messages from RabbitMQ with &quot;rabbitmq_delayed_message_exchange&quot; plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :- Step 1- Install rabbitMQ\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#article\",\"name\":\"Sending Scheduled\\\/delayed messages with RabbitMQ through java client | TO THE NEW Blog\",\"headline\":\"Sending Scheduled\\\/delayed messages with RabbitMQ through java client\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal-kumar\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-07-28T18:45:55+05:30\",\"dateModified\":\"2015-07-29T16:30:24+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#webpage\"},\"articleSection\":\"Grails, Java\\\/JVM, Technology, gails, Java, rabbitmq\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#listItem\",\"name\":\"Sending Scheduled\\\/delayed messages with RabbitMQ through java client\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#listItem\",\"position\":3,\"name\":\"Sending Scheduled\\\/delayed messages with RabbitMQ through java client\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal-kumar\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal-kumar\\\/\",\"name\":\"Vishal Kumar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/95f31502-7c75-4c8c-9a82-162709027d07_826-Vishal-Kumar-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Vishal Kumar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/\",\"name\":\"Sending Scheduled\\\/delayed messages with RabbitMQ through java client | TO THE NEW Blog\",\"description\":\"The requirement to send delayed\\\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\\\/delayed messages from RabbitMQ with \\\"rabbitmq_delayed_message_exchange\\\" plugin. we can send scheduled\\\/ delayed messages from rabbitMQ by following these steps :- Step 1- Install rabbitMQ\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal-kumar\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal-kumar\\\/#author\"},\"datePublished\":\"2015-07-28T18:45:55+05:30\",\"dateModified\":\"2015-07-29T16:30:24+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Sending Scheduled\/delayed messages with RabbitMQ through java client | TO THE NEW Blog","description":"The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed messages from RabbitMQ with \"rabbitmq_delayed_message_exchange\" plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :- Step 1- Install rabbitMQ","canonical_url":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#article","name":"Sending Scheduled\/delayed messages with RabbitMQ through java client | TO THE NEW Blog","headline":"Sending Scheduled\/delayed messages with RabbitMQ through java client","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/vishal-kumar\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2015-07-28T18:45:55+05:30","dateModified":"2015-07-29T16:30:24+05:30","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#webpage"},"articleSection":"Grails, Java\/JVM, Technology, gails, Java, rabbitmq"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/www.tothenew.com\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#listItem","name":"Sending Scheduled\/delayed messages with RabbitMQ through java client"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#listItem","position":3,"name":"Sending Scheduled\/delayed messages with RabbitMQ through java client","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/vishal-kumar\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/vishal-kumar\/","name":"Vishal Kumar","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/95f31502-7c75-4c8c-9a82-162709027d07_826-Vishal-Kumar-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Vishal Kumar"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/","name":"Sending Scheduled\/delayed messages with RabbitMQ through java client | TO THE NEW Blog","description":"The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed messages from RabbitMQ with \"rabbitmq_delayed_message_exchange\" plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :- Step 1- Install rabbitMQ","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/vishal-kumar\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/vishal-kumar\/#author"},"datePublished":"2015-07-28T18:45:55+05:30","dateModified":"2015-07-29T16:30:24+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Sending Scheduled\/delayed messages with RabbitMQ through java client | TO THE NEW Blog","og:description":"The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed messages from RabbitMQ with &quot;rabbitmq_delayed_message_exchange&quot; plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :- Step 1- Install rabbitMQ","og:url":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Sending Scheduled\/delayed messages with RabbitMQ through java client | TO THE NEW Blog","twitter:description":"The requirement to send delayed\/scheduled message is to publish any message with a delay time. To achieve this, earlier we had to use dead letter exchange but now we can send scheduled\/delayed messages from RabbitMQ with &quot;rabbitmq_delayed_message_exchange&quot; plugin. we can send scheduled\/ delayed messages from rabbitMQ by following these steps :- Step 1- Install rabbitMQ","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"24188","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 12:59:21","updated":"2024-02-29 08:42:25","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tSending Scheduled\/delayed messages with RabbitMQ through java client\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Technology","link":"https:\/\/www.tothenew.com\/blog\/category\/technology\/"},{"label":"Sending Scheduled\/delayed messages with RabbitMQ through java client","link":"https:\/\/www.tothenew.com\/blog\/sending-scheduleddelayed-messages-with-rabbitmq-through-java-client\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/24188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/250"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=24188"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/24188\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=24188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=24188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=24188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}