public class EnvironmentMessageBroker extends java.lang.Object implements MessageBroker
Modifier and Type | Method and Description |
---|---|
void |
addBroker(MessageBroker broker) |
static EnvironmentMessageBroker |
create() |
BrokerReceiver |
createReceiver(java.lang.String name,
DistributionMode distributionMode,
java.util.Map<java.lang.String,java.lang.Object> properties,
ReceiverMessageHandler listener) |
BrokerSender |
createSender(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> properties) |
MessageBroker |
findBroker(java.lang.Class<?> brokerClass) |
static EnvironmentMessageBroker |
getCurrent() |
void |
removeBroker(MessageBroker broker) |
java.lang.String |
toString() |
public static EnvironmentMessageBroker getCurrent()
public static EnvironmentMessageBroker create()
public void addBroker(MessageBroker broker)
public void removeBroker(MessageBroker broker)
public MessageBroker findBroker(java.lang.Class<?> brokerClass)
public BrokerSender createSender(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> properties)
createSender
in interface MessageBroker
public BrokerReceiver createReceiver(java.lang.String name, DistributionMode distributionMode, java.util.Map<java.lang.String,java.lang.Object> properties, ReceiverMessageHandler listener)
createReceiver
in interface MessageBroker
public java.lang.String toString()
toString
in class java.lang.Object