Package io.keldysh.messaging.in_memory
Class InMemoryBroker
java.lang.Object
io.keldysh.messaging.in_memory.InMemoryBroker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateMulticast(String outboundName) Equal tocreateMulticast(String, String), with equal identifier for inbound and outbound.voidcreateMulticast(String inboundName, String outboundName) If not already existing, create a new inbound address to receive published messages, and route received messages to any consumer subscribed to provided outbound queue.
-
Constructor Details
-
InMemoryBroker
public InMemoryBroker()
-
-
Method Details
-
createMulticast
Equal tocreateMulticast(String, String), with equal identifier for inbound and outbound.- Parameters:
outboundName- - Identifier for both inbound address to published and outbound queue to receives messages.
-
createMulticast
If not already existing, create a new inbound address to receive published messages, and route received messages to any consumer subscribed to provided outbound queue. Multiple subscribers to the same outbound are not supported.- Parameters:
inboundName- - Identifier of the inbound address, to publish messages to the broker.outboundName- - Identifier of the outbound queue, to receive messages from the broker.
-