Class InMemoryMessageQueueReceiverEndpointFactory

java.lang.Object
de.otto.synapse.endpoint.receiver.InMemoryMessageQueueReceiverEndpointFactory
All Implemented Interfaces:
de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpointFactory

public class InMemoryMessageQueueReceiverEndpointFactory extends Object implements de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpointFactory
A builder used to build in-memory implementations of an MessageQueueReceiverEndpoint.

Primarily used for testing purposes.

  • Constructor Details

    • InMemoryMessageQueueReceiverEndpointFactory

      public InMemoryMessageQueueReceiverEndpointFactory(InMemoryChannels inMemoryChannels)
  • Method Details

    • create

      public de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpoint create(@Nonnull String channelName)
      Specified by:
      create in interface de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpointFactory