From f7ba68e57989d4ad6eb49cdd45b69e5e6d04fc93 Mon Sep 17 00:00:00 2001 From: Gunnar Hillert Date: Wed, 9 May 2012 18:07:13 -0400 Subject: [PATCH] AMQP-228 - Doc - Fix Incorrect Code Samples --- src/docbkx/quick-tour.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docbkx/quick-tour.xml b/src/docbkx/quick-tour.xml index 5aff6987..d9e1cb75 100644 --- a/src/docbkx/quick-tour.xml +++ b/src/docbkx/quick-tour.xml @@ -29,12 +29,12 @@ +String foo = (String) template.receiveAndConvert("myqueue");]]> Note that there is a ConnectionFactory in the native Java Rabbit client as well. We are using the Spring @@ -56,7 +56,7 @@ AmqpTemplate template = context.getBean(AmqpTemplate.class); template.convertAndSend("myqueue", "foo"); -String foo = template.receiveAndConvert("myqueue");]]> +String foo = (String) template.receiveAndConvert("myqueue");]]>