Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. channel.basicConsume(queueName, autoAck, "myConsumerTag", new DefaultConsumer(channel) {
  2. @Override
  3. public void handleDelivery(String consumerTag,
  4. Envelope envelope,
  5. AMQP.BasicProperties properties,
  6. byte[] body) throws IOException
  7. {
  8. //your code here
  9. }
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement