Class InMemoryMessageQueueReceiverEndpointFactory

  • All Implemented Interfaces:
    de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpointFactory

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

    Primarily used for testing purposes.

    • Method Summary

      Modifier and Type Method Description
      de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpoint create​(java.lang.String channelName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InMemoryMessageQueueReceiverEndpointFactory

        public InMemoryMessageQueueReceiverEndpointFactory​(InMemoryChannels inMemoryChannels)
    • Method Detail

      • create

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