| Modifier and Type | Field and Description |
|---|---|
static String |
EXCHANGE_TYPE |
| Constructor and Description |
|---|
RabbitMQStatusConsumer() |
RabbitMQStatusConsumer(String brokerUrl,
String exchangeName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
listen(MessageHandler handler)
Start listening for messages, The binding properties are specified in the handler.
|
void |
stopListen(String id) |
public static final String EXCHANGE_TYPE
public RabbitMQStatusConsumer()
throws AiravataException
AiravataExceptionpublic RabbitMQStatusConsumer(String brokerUrl, String exchangeName) throws AiravataException
AiravataExceptionpublic String listen(MessageHandler handler) throws AiravataException
Consumerlisten in interface ConsumerAiravataExceptionpublic void stopListen(String id) throws AiravataException
stopListen in interface ConsumerAiravataExceptionpublic void close()
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.