{"id":398,"date":"2011-04-27T20:42:00","date_gmt":"2011-04-27T20:42:00","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/2012\/10\/rabbitmq-module-for-play-framework.html"},"modified":"2012-10-21T19:41:57","modified_gmt":"2012-10-21T19:41:57","slug":"rabbitmq-module-play-framework","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html","title":{"rendered":"RabbitMQ Module for Play! Framework"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left\">RabbitMQ offers a highly available, scalable and portable messaging system with predictable and consistent throughput and latency. RabbitMQ is the leading <a href=\"http:\/\/www.rabbitmq.com\/faq.html#what-is-amqp\">implementation of AMQP<\/a>, the open standard for business messaging, and, <a href=\"http:\/\/www.rabbitmq.com\/plugins.html\">through adapters<\/a>, supports XMPP, SMTP, STOMP and HTTP for lightweight web messaging.<\/p>\n<p>This new module allows you to consume and produce messages on a RabbitMQ instance from your Play! Framework application.<\/p>\n<p><strong>Installation<\/strong><\/p>\n<pre class=\"brush:bash\">play install rabbitmq\r\n<\/pre>\n<p><strong>Configuration<\/strong><\/p>\n<pre class=\"brush:bash\">module.rabbitmq=${play.path}\/modules\/rabbitmq-0.0.1\r\nrabbitmq.host=localhost\r\nrabbitmq.port=5672\r\nrabbitmq.userName=guest\r\nrabbitmq.password=guest\r\nrabbitmq.vhost=\/\r\nrabbitmq.exchangeType=direct\r\nrabbitmq.durable=true\r\nrabbitmq.autoAck=false\r\nrabbitmq.basicQos=true\r\n<\/pre>\n<p><strong>Define Message that will be used by the Queue (just a simple POJO)<\/strong><\/p>\n<pre class=\"brush:java\">public class SampleMessage implements Serializable {\r\n\r\n    \/** The field1. *\/\r\n    private String field1;\r\n\r\n    \/** The field2. *\/\r\n    private String field2;\r\n\r\n    \/**\r\n     * Instantiates a new sample message.\r\n     *\/\r\n    public SampleMessage() {\r\n\r\n    }\r\n\r\n    \/**\r\n     * Instantiates a new sample message.\r\n     *\r\n     * @param field1 the field1\r\n     * @param field2 the field2\r\n     *\/\r\n    public SampleMessage(String field1, String field2) {\r\n        super();\r\n        this.field1 = field1;\r\n        this.field2 = field2;\r\n    }\r\n\r\n    \/**\r\n     * Gets the field1.\r\n     *\r\n     * @return the field1\r\n     *\/\r\n    public String getField1() {\r\n        return field1;\r\n    }\r\n\r\n    \/**\r\n     * Sets the field1.\r\n     *\r\n     * @param field1 the new field1\r\n     *\/\r\n    public void setField1(String field1) {\r\n        this.field1 = field1;\r\n    }\r\n\r\n    \/**\r\n     * Gets the field2.\r\n     *\r\n     * @return the field2\r\n     *\/\r\n    public String getField2() {\r\n        return field2;\r\n    }\r\n\r\n    \/**\r\n     * Sets the field2.\r\n     *\r\n     * @param field2 the new field2\r\n     *\/\r\n    public void setField2(String field2) {\r\n        this.field2 = field2;\r\n    }\r\n\r\n    \/**\r\n     * To String\r\n     *\r\n     * @see java.lang.Object#toString()\r\n     *\/\r\n    @Override\r\n    public String toString() {\r\n        return \"SampleMessage [field1=\" + field1 + \", field2=\" + field2 + \"]\";\r\n    }\r\n}\r\n<\/pre>\n<p><strong>Publish a Message<\/strong><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<pre class=\"brush:java\">public static void publish(String q) {\r\n     RabbitMQPublisher.publish(\"myQueue\", new SampleMessage(q, q));\r\n     render(q);\r\n    }\r\n<\/pre>\n<p><strong>Creating a Message Consumer<\/strong><\/p>\n<pre class=\"brush:java\">@OnApplicationStart(async=true)\r\npublic class RabbitMQSampleConsumer extends RabbitMQConsumer {\r\n\r\n    \/**\r\n     * Consume Message\r\n     *\r\n     * @see play.modules.rabbitmq.consumer.RabbitMQConsumer#consume(T)\r\n     *\/\r\n    @Override\r\n    protected void consume(SampleMessage message) {\r\n        System.out.println(\"******************************\");\r\n        System.out.println(\"* Message Consumed: \" + message);\r\n        System.out.println(\"******************************\");\r\n    }\r\n\r\n    \/**\r\n     * Name of the Queue that this consumer will be listening to.\r\n     *\r\n     * @return the string\r\n     * @see play.modules.rabbitmq.consumer.RabbitMQConsumer#queue()\r\n     *\/\r\n    @Override\r\n    protected String queue() {\r\n        return \"myQueue\";\r\n    }\r\n\r\n    \/**\r\n     * Return message type.\r\n     *\r\n     * @return the message type\r\n     * @see play.modules.rabbitmq.consumer.RabbitMQConsumer#getMessageType()\r\n     *\/\r\n    protected Class getMessageType() {\r\n        return SampleMessage.class;\r\n    }\r\n}\r\n<\/pre>\n<p>* Please note this is a Play! job so you can start it manualy or you can use the other annotations provided by Play! like @On or @Every. More information available at <a href=\"http:\/\/www.playframework.org\/documentation\/1.2\/jobs\">Asynchronous Jobs documentation<\/a>.<\/p>\n<p><strong>Firehose \u2013 Another way to publish messages in batch<\/strong><\/p>\n<pre class=\"brush:java\">@OnApplicationStart(async = true)\r\npublic class RabbitMQSampleFirehose extends RabbitMQFirehose {\r\n\r\n    \/** The count. *\/\r\n    public int count = 0;\r\n\r\n    \/**\r\n     * Get data to be loaded.\r\n     *\r\n     * @param n the n\r\n     * @return the data\r\n     * @throws Exception the exception\r\n     * @see play.modules.rabbitmq.producer.RabbitMQFirehose#getData(int)\r\n     *\/\r\n    @Override\r\n    protected List getData(int n) throws Exception {\r\n        if ( count &gt;= 10 ) {\r\n            return null;\r\n        }\r\n        List results = new ArrayList();\r\n        for (int i = 0; i &lt; n; i++) {\r\n            results.add(new SampleMessage(\"field1\", \"field2\"));\r\n            count++;\r\n        }\r\n        return results;\r\n    }\r\n\r\n    \/**\r\n     * Batch Size - How many records we will select at the time?.\r\n     *\r\n     * @return the int\r\n     * @see play.modules.rabbitmq.producer.RabbitMQFirehose#batchSize()\r\n     *\/\r\n    @Override\r\n    protected int batchSize() {\r\n        return 2;\r\n    }\r\n\r\n    \/**\r\n     * Queue Name.\r\n     *\r\n     * @return the string\r\n     * @see play.modules.rabbitmq.producer.RabbitMQFirehose#queueName()\r\n     *\/\r\n    @Override\r\n    protected String queueName() {\r\n        return \"myQueue\";\r\n    }\r\n\r\n}\r\n<\/pre>\n<p>* Please note this is a Play! job so you can start it manualy or you can use the other annotations provided by Play! like @On or @Every. More information available at <a href=\"http:\/\/www.playframework.org\/documentation\/1.2\/jobs\">Asynchronous Jobs documentation<\/a>.  Of course the code is available on <a href=\"https:\/\/github.com\/feliperazeek\/play-rabbitmq\">Github<\/a>.<\/p>\n<p>Now Go <a href=\"http:\/\/playframework.org\/\">Play!<\/a><\/p>\n<p><strong><i>Reference :<\/i><\/strong> <a href=\"http:\/\/geeks.aretotally.in\/rabbitmq-module-for-play-framework\">RabbitMQ Module for Play! Framework<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/p\/jcg.html\">JCG partner<\/a> <a href=\"http:\/\/geeks.aretotally.in\/contact\">Felipe Oliveira<\/a> at <a href=\"http:\/\/geeks.aretotally.in\/\">Geeks Are Totally In<\/a>.<\/p>\n<p><strong>Related Articles:<\/strong><\/p>\n<ul style=\"text-align: left\">\n<li><a href=\"http:\/\/www.javacodegeeks.com\/2011\/03\/java-code-geeks-andygene-web-archetype.html\">Java Code Geeks Andygene Web Archetype<\/a><\/li>\n<li><a href=\"http:\/\/www.javacodegeeks.com\/2010\/12\/things-every-programmer-should-know.html\">Things Every Programmer Should Know<\/a><\/li>\n<li><a href=\"http:\/\/www.javacodegeeks.com\/2011\/02\/spring-mvc-development-tutorial.html\">Spring MVC Development &#8211; Quick Tutorial<\/a><\/li>\n<li><a href=\"http:\/\/www.javacodegeeks.com\/2010\/06\/getting-started-smartgwt-gwt-interfaces.html\">Getting Started with SmartGWT for awesome GWT interfaces<\/a><\/li>\n<li><a href=\"http:\/\/www.javacodegeeks.com\/2010\/05\/gwt-2-spring-3-jpa-2-hibernate-35.html\">GWT 2 Spring 3 JPA 2 Hibernate 3.5 Tutorial<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>RabbitMQ offers a highly available, scalable and portable messaging system with predictable and consistent throughput and latency. RabbitMQ is the leading implementation of AMQP, the open standard for business messaging, and, through adapters, supports XMPP, SMTP, STOMP and HTTP for lightweight web messaging. This new module allows you to consume and produce messages on a &hellip;<\/p>\n","protected":false},"author":25,"featured_media":215,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[177,178],"class_list":["post-398","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-play-framework","tag-rabbitmq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>RabbitMQ Module for Play! Framework - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"RabbitMQ offers a highly available, scalable and portable messaging system with predictable and consistent throughput and latency. RabbitMQ is the leading\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RabbitMQ Module for Play! Framework - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"RabbitMQ offers a highly available, scalable and portable messaging system with predictable and consistent throughput and latency. RabbitMQ is the leading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2011-04-27T20:42:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-10-21T19:41:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/play-framework-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Felipe Oliveira\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Felipe Oliveira\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html\"},\"author\":{\"name\":\"Felipe Oliveira\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/999d8796fec09b118ea84871b31ef73f\"},\"headline\":\"RabbitMQ Module for Play! Framework\",\"datePublished\":\"2011-04-27T20:42:00+00:00\",\"dateModified\":\"2012-10-21T19:41:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html\"},\"wordCount\":225,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/play-framework-logo.jpg\",\"keywords\":[\"Play Framework\",\"RabbitMQ\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html\",\"name\":\"RabbitMQ Module for Play! Framework - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/play-framework-logo.jpg\",\"datePublished\":\"2011-04-27T20:42:00+00:00\",\"dateModified\":\"2012-10-21T19:41:57+00:00\",\"description\":\"RabbitMQ offers a highly available, scalable and portable messaging system with predictable and consistent throughput and latency. RabbitMQ is the leading\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/play-framework-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/play-framework-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2011\\\/04\\\/rabbitmq-module-play-framework.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"RabbitMQ Module for Play! Framework\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/999d8796fec09b118ea84871b31ef73f\",\"name\":\"Felipe Oliveira\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f5bac596b331d5f30e74ed4e1920ea0deaa08ac94f6a0ba82c37ff16c3bc7116?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f5bac596b331d5f30e74ed4e1920ea0deaa08ac94f6a0ba82c37ff16c3bc7116?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f5bac596b331d5f30e74ed4e1920ea0deaa08ac94f6a0ba82c37ff16c3bc7116?s=96&d=mm&r=g\",\"caption\":\"Felipe Oliveira\"},\"sameAs\":[\"http:\\\/\\\/geeks.aretotally.in\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Felipe-Oliveira\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RabbitMQ Module for Play! Framework - Java Code Geeks","description":"RabbitMQ offers a highly available, scalable and portable messaging system with predictable and consistent throughput and latency. RabbitMQ is the leading","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html","og_locale":"en_US","og_type":"article","og_title":"RabbitMQ Module for Play! Framework - Java Code Geeks","og_description":"RabbitMQ offers a highly available, scalable and portable messaging system with predictable and consistent throughput and latency. RabbitMQ is the leading","og_url":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2011-04-27T20:42:00+00:00","article_modified_time":"2012-10-21T19:41:57+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/play-framework-logo.jpg","type":"image\/jpeg"}],"author":"Felipe Oliveira","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Felipe Oliveira","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html"},"author":{"name":"Felipe Oliveira","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/999d8796fec09b118ea84871b31ef73f"},"headline":"RabbitMQ Module for Play! Framework","datePublished":"2011-04-27T20:42:00+00:00","dateModified":"2012-10-21T19:41:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html"},"wordCount":225,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/play-framework-logo.jpg","keywords":["Play Framework","RabbitMQ"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html","url":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html","name":"RabbitMQ Module for Play! Framework - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/play-framework-logo.jpg","datePublished":"2011-04-27T20:42:00+00:00","dateModified":"2012-10-21T19:41:57+00:00","description":"RabbitMQ offers a highly available, scalable and portable messaging system with predictable and consistent throughput and latency. RabbitMQ is the leading","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/play-framework-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/play-framework-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2011\/04\/rabbitmq-module-play-framework.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"RabbitMQ Module for Play! Framework"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/999d8796fec09b118ea84871b31ef73f","name":"Felipe Oliveira","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f5bac596b331d5f30e74ed4e1920ea0deaa08ac94f6a0ba82c37ff16c3bc7116?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f5bac596b331d5f30e74ed4e1920ea0deaa08ac94f6a0ba82c37ff16c3bc7116?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f5bac596b331d5f30e74ed4e1920ea0deaa08ac94f6a0ba82c37ff16c3bc7116?s=96&d=mm&r=g","caption":"Felipe Oliveira"},"sameAs":["http:\/\/geeks.aretotally.in\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/Felipe-Oliveira"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/215"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}