Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- channel.basicConsume(queueName, autoAck, "myConsumerTag", new DefaultConsumer(channel) {
- @Override
- public void handleDelivery(String consumerTag,
- Envelope envelope,
- AMQP.BasicProperties properties,
- byte[] body) throws IOException
- {
- //your code here
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement