{"id":59668,"date":"2016-08-23T22:00:43","date_gmt":"2016-08-23T19:00:43","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=59668"},"modified":"2016-08-23T14:56:18","modified_gmt":"2016-08-23T11:56:18","slug":"integrating-rabbit-mq-using-spring-integration-java-dsl","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html","title":{"rendered":"Integrating with Rabbit MQ using Spring Integration Java DSL"},"content":{"rendered":"<p>I recently attended the\u00a0<a href=\"https:\/\/springoneplatform.io\/\">Spring One conference 2016 in Las Vegas<\/a> and had the good fortune to see from near and far some of the people that I have admired for a long time in the Software World. I personally met two of them who have actually merged some of my Spring Integration related minor contributions from a few years ago &#8211;\u00a0<a href=\"https:\/\/github.com\/garyrussell\">Gary Russel<\/a> and\u00a0<a href=\"https:\/\/github.com\/artembilan\">Artem Bilan<\/a> and they inspired me to look again at\u00a0<a href=\"https:\/\/projects.spring.io\/spring-integration\/\">Spring Integration<\/a> which I have not used for a while.<\/p>\n<p>I was once more reminded of how\u00a0<a href=\"https:\/\/projects.spring.io\/spring-integration\/\">Spring Integration<\/a> makes any complex Enterprise integration scenario look easy. I am happy to see that Spring Integration Java based DSL is now fully integrated into the Spring Integration umbrella and higher level abstractions like Spring Cloud Stream(introductions thanks to my good friend and a contributor to this project<br \/>\n<a href=\"https:\/\/github.com\/sobychacko\">Soby Chacko<\/a>) which makes some of the message driven scenarios even easier.<\/p>\n<p>In this post I am just revisiting a very simple integration scenario with RabbitMQ and in a later post will re-implement it using Spring Cloud Stream.<\/p>\n<p>Consider a scenario where two services are talking to each other via a RabbitMQ broker in between, one of them generating some kind of a work, the other processing this work.<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2016\/08\/WorkUnitsFlow.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-59677\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2016\/08\/WorkUnitsFlow.png\" alt=\"WorkUnitsFlow\" width=\"640\" height=\"338\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2016\/08\/WorkUnitsFlow.png 640w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2016\/08\/WorkUnitsFlow-300x158.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<h2>Producer<\/h2>\n<p>The Work unit producing\/dispatching part can be expressed in code using Spring Integration Java DSL the following way:<\/p>\n<pre class=\"brush:java\">@Configuration\r\npublic class WorksOutbound {\r\n\r\n    @Autowired\r\n    private RabbitConfig rabbitConfig;\r\n\r\n    @Bean\r\n    public IntegrationFlow toOutboundQueueFlow() {\r\n        return IntegrationFlows.from(\"worksChannel\")\r\n                .transform(Transformers.toJson())\r\n                .handle(Amqp.outboundAdapter(rabbitConfig.worksRabbitTemplate()))\r\n                .get();\r\n    }\r\n}<\/pre>\n<p>This is eminently readable &#8211; the flow starts by reading a message off a channel called &#8220;worksChannel&#8221;, transforms the message into a json and dispatches it off using an Outbound channel adapter to a RabbitMQ exchange. Now, how does the message get to the channel called &#8220;worksChannel&#8221; &#8211; I have configured it via a Messaging gateway, an entry point to the Spring Integration world &#8211;<\/p>\n<pre class=\"brush:java\">@MessagingGateway\r\npublic interface WorkUnitGateway {\r\n @Gateway(requestChannel = \"worksChannel\")\r\n void generate(WorkUnit workUnit);\r\n\r\n}<\/pre>\n<p>So now if a java client wanted to dispatch a &#8220;work unit&#8221; to rabbitmq, the call would look like this :<\/p>\n<pre class=\"brush:java\">WorkUnit sampleWorkUnit = new WorkUnit(UUID.randomUUID().toString(), definition);\r\nworkUnitGateway.generate(sampleWorkUnit);<\/pre>\n<p>I have brushed over a few things here &#8211; specifically the Rabbit MQ configuration, that is run of the mill however and is available\u00a0<a href=\"https:\/\/github.com\/bijukunjummen\/si-dsl-rabbit-sample\/blob\/master\/work-dispatcher\/src\/main\/java\/words\/service\/RabbitConfig.java\">here<\/a><\/p>\n<h2>Consumer<\/h2>\n<p>Along the lines of a producer, a consumers flow would start by receiving a message from RabbitMQ queue, transforming it to a domain model and then processing the message, expressed using Spring Integration Java DSL the following way:<\/p>\n<pre class=\"brush:java\">@Configuration\r\npublic class WorkInbound {\r\n\r\n    @Autowired\r\n    private RabbitConfig rabbitConfig;\r\n\r\n    @Autowired\r\n    private ConnectionFactory connectionFactory;\r\n\r\n    @Bean\r\n    public IntegrationFlow inboundFlow() {\r\n        return IntegrationFlows.from(\r\n                Amqp.inboundAdapter(connectionFactory, rabbitConfig.worksQueue()).concurrentConsumers(3))\r\n                .transform(Transformers.fromJson(WorkUnit.class))\r\n                .handle(\"workHandler\", \"process\")\r\n                .get();\r\n    }\r\n}<\/pre>\n<p>The code should be intuitive, the workHandler above is a simple Java pojo and looks like this, doing the very important job of just logging the payload:<\/p>\n<pre class=\"brush:java\">@Service\r\npublic class WorkHandler {\r\n    private static final Logger LOGGER = LoggerFactory.getLogger(WorkHandler.class);\r\n\r\n    public void process(WorkUnit workUnit) {\r\n        LOGGER.info(\"Handling work unit - id: {}, definition: {}\", workUnit.getId(), workUnit.getDefinition());\r\n    }\r\n}<\/pre>\n<p>That is essentially it, Spring Integration provides an awesome facade to what would have been a fairly complicated code had it been attempted using straight Java and raw RabbitMQ libraries.<br \/>\n<a href=\"https:\/\/cloud.spring.io\/spring-cloud-stream\/\">Spring Cloud Stream<\/a> makes this entire set-up even simpler and would be the topic of a future post.<\/p>\n<p>I have posted this entire code at my\u00a0<a href=\"https:\/\/github.com\/bijukunjummen\/si-dsl-rabbit-sample\">github repo<\/a> if you are interested in taking this for a spin.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"http:\/\/www.java-allandsundry.com\/2016\/08\/integrating-with-rabbit-mq-using-spring.html\">Integrating with Rabbit MQ using Spring Integration Java DSL<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/join-us\/jcg\/\">JCG partner<\/a> Biju Kunjummen at the <a href=\"http:\/\/www.java-allandsundry.com\/\">all and sundry<\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I recently attended the\u00a0Spring One conference 2016 in Las Vegas and had the good fortune to see from near and far some of the people that I have admired for a long time in the Software World. I personally met two of them who have actually merged some of my Spring Integration related minor contributions &hellip;<\/p>\n","protected":false},"author":236,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[59,1381,30,410],"class_list":["post-59668","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-jms","tag-rabbit-mq","tag-spring","tag-spring-integration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Integrating with Rabbit MQ using Spring Integration Java DSL - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"I recently attended the\u00a0Spring One conference 2016 in Las Vegas and had the good fortune to see from near and far some of the people that I have admired\" \/>\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\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrating with Rabbit MQ using Spring Integration Java DSL - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"I recently attended the\u00a0Spring One conference 2016 in Las Vegas and had the good fortune to see from near and far some of the people that I have admired\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.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=\"2016-08-23T19:00:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-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=\"Biju Kunjummen\" \/>\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=\"Biju Kunjummen\" \/>\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\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html\"},\"author\":{\"name\":\"Biju Kunjummen\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/802eedfe6f17c3c13fa656af46b6b0e5\"},\"headline\":\"Integrating with Rabbit MQ using Spring Integration Java DSL\",\"datePublished\":\"2016-08-23T19:00:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html\"},\"wordCount\":505,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"keywords\":[\"JMS\",\"Rabbit MQ\",\"Spring\",\"Spring Integration\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html\",\"name\":\"Integrating with Rabbit MQ using Spring Integration Java DSL - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"datePublished\":\"2016-08-23T19:00:43+00:00\",\"description\":\"I recently attended the\u00a0Spring One conference 2016 in Las Vegas and had the good fortune to see from near and far some of the people that I have admired\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"spring-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2016\\\/08\\\/integrating-rabbit-mq-using-spring-integration-java-dsl.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\":\"Integrating with Rabbit MQ using Spring Integration Java DSL\"}]},{\"@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\\\/802eedfe6f17c3c13fa656af46b6b0e5\",\"name\":\"Biju Kunjummen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g\",\"caption\":\"Biju Kunjummen\"},\"sameAs\":[\"http:\\\/\\\/biju-allandsundry.blogspot.com\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Biju-Kunjummen\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrating with Rabbit MQ using Spring Integration Java DSL - Java Code Geeks","description":"I recently attended the\u00a0Spring One conference 2016 in Las Vegas and had the good fortune to see from near and far some of the people that I have admired","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\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html","og_locale":"en_US","og_type":"article","og_title":"Integrating with Rabbit MQ using Spring Integration Java DSL - Java Code Geeks","og_description":"I recently attended the\u00a0Spring One conference 2016 in Las Vegas and had the good fortune to see from near and far some of the people that I have admired","og_url":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2016-08-23T19:00:43+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","type":"image\/jpeg"}],"author":"Biju Kunjummen","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Biju Kunjummen","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html"},"author":{"name":"Biju Kunjummen","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/802eedfe6f17c3c13fa656af46b6b0e5"},"headline":"Integrating with Rabbit MQ using Spring Integration Java DSL","datePublished":"2016-08-23T19:00:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html"},"wordCount":505,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","keywords":["JMS","Rabbit MQ","Spring","Spring Integration"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html","url":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html","name":"Integrating with Rabbit MQ using Spring Integration Java DSL - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","datePublished":"2016-08-23T19:00:43+00:00","description":"I recently attended the\u00a0Spring One conference 2016 in Las Vegas and had the good fortune to see from near and far some of the people that I have admired","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","width":150,"height":150,"caption":"spring-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2016\/08\/integrating-rabbit-mq-using-spring-integration-java-dsl.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":"Integrating with Rabbit MQ using Spring Integration Java DSL"}]},{"@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\/802eedfe6f17c3c13fa656af46b6b0e5","name":"Biju Kunjummen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/66af1504c76f011746c89812efce168850f07dce91ce881e62795e10c99d30b3?s=96&d=mm&r=g","caption":"Biju Kunjummen"},"sameAs":["http:\/\/biju-allandsundry.blogspot.com"],"url":"https:\/\/www.javacodegeeks.com\/author\/Biju-Kunjummen"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/59668","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\/236"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=59668"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/59668\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/240"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=59668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=59668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=59668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}