public class OpflowPubsubHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
OpflowPubsubHandler.State |
| Constructor and Description |
|---|
OpflowPubsubHandler(Map<String,Object> params) |
| Modifier and Type | Method and Description |
|---|---|
OpflowPubsubHandler.State |
check() |
void |
close() |
OpflowExecutor |
getExecutor() |
String |
getRecyclebinName() |
int |
getRedeliveredLimit() |
String |
getSubscriberName() |
void |
publish(byte[] body) |
void |
publish(byte[] body,
Map<String,Object> options) |
void |
publish(byte[] body,
Map<String,Object> options,
String routingKey) |
void |
publish(String body) |
void |
publish(String body,
Map<String,Object> opts) |
void |
publish(String body,
Map<String,Object> opts,
String routingKey) |
OpflowEngine.ConsumerInfo |
subscribe(OpflowPubsubListener newListener) |
public OpflowPubsubHandler(Map<String,Object> params) throws OpflowBootstrapException
OpflowBootstrapExceptionpublic void publish(String body)
public void publish(byte[] body)
public OpflowEngine.ConsumerInfo subscribe(OpflowPubsubListener newListener)
public void close()
public OpflowPubsubHandler.State check()
public OpflowExecutor getExecutor()
public String getSubscriberName()
public String getRecyclebinName()
public int getRedeliveredLimit()
Copyright © 2017. All rights reserved.