public class RabbitMQCourierPrototype<M extends Serializable> extends CourierPrototype<M>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_EXCHANGER_NAME |
static String |
KEY_EXCHANGER |
static String |
KEY_HOST |
static String |
KEY_PORT |
static String |
KEY_ROUTING_KEY |
static String |
KEY_SSL |
static String |
KEY_TTL |
static String |
KEY_VIRTUAL_HOST |
static String |
PREFIX_RABBITMQ |
| Constructor and Description |
|---|
RabbitMQCourierPrototype(String queue,
String destination,
Type topicType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterTopicAssociation() |
void |
deliver(M message) |
boolean |
isConsumer() |
void |
setConsumer(boolean consumer) |
associate, getDestination, getMessageType, getQueue, getTopic, getTopicTypepublic static final String PREFIX_RABBITMQ
public static final String KEY_VIRTUAL_HOST
public static final String KEY_HOST
public static final String KEY_PORT
public static final String KEY_SSL
public static final String KEY_ROUTING_KEY
public static final String KEY_EXCHANGER
public static final String KEY_TTL
public static final String DEFAULT_EXCHANGER_NAME
protected void afterTopicAssociation()
afterTopicAssociation in class CourierPrototype<M extends Serializable>public void deliver(M message)
public boolean isConsumer()
public void setConsumer(boolean consumer)
Copyright © 2020. All rights reserved.