[rabbitmq-discuss] examples of using basicPublish, basicConsume?
Jason Klassen
Jason.Klassen at protegra.com
Wed Jun 29 15:50:23 BST 2011
Hi Matthew,
Thanks much for the advice and the javadoc link helps greatly as well.
Jason
-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Matthew Sackman
Sent: June-29-11 3:19 AM
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] examples of using basicPublish, basicConsume?
Morning Jason,
On Wed, Jun 29, 2011 at 05:07:34AM +0000, Jason Klassen wrote:
> Another question about upgrading from Rabbit 1.4 java client to 2.5.1. I used to do
>
> channel.basicPublish(ticket, exchange, routingKey, null, bytes.toByteArray )
>
> and
>
> channel.basicConsume( ticket, false, queueName, myDefaultConsumer)
>
> Is it appropriate to just omit ticket?
Yes.
> Also where can I find information about basicPublish, basicConsume? The javadoc for channel http://www.rabbitmq.com/releases/rabbitmq-java-client/v2.5.0/rabbitmq-java-client-javadoc-2.5.0/com/rabbitmq/client/AMQP.Channel.html does not seem to indicate available methods so I'm doing some guessing here.
http://www.rabbitmq.com/releases/rabbitmq-java-client/v2.5.0/rabbitmq-java-client-javadoc-2.5.0/com/rabbitmq/client/Channel.html
Best wishes,
Matthew
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list