[rabbitmq-discuss] I think the Java tutorial has an error
Matthias Radestock
matthias at rabbitmq.com
Tue Oct 22 09:35:26 BST 2013
On 21/10/13 21:21, Kevin Meek wrote:
> The first Java tutorial has
>
> String message = "Hello World!";
> channel.basicPublish("", QUEUE_NAME, null, message.getBytes());
>
> where I believe the first parameter should be the message String itself. No?
No. It's the exchange name. Keep reading. All will be revealed eventually :)
Matthias.
More information about the rabbitmq-discuss
mailing list