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");]]>