Uses of Class
de.quantummaid.eventmaid.identification.CorrelationId
-
-
Uses of CorrelationId in de.quantummaid.eventmaid.channel
Methods in de.quantummaid.eventmaid.channel with parameters of type CorrelationId Modifier and Type Method Description MessageIdChannel. send(T message, CorrelationId correlationId)Send the given message over thisChannelwith the givenCorrelationId. -
Uses of CorrelationId in de.quantummaid.eventmaid.identification
Methods in de.quantummaid.eventmaid.identification that return CorrelationId Modifier and Type Method Description static CorrelationIdCorrelationId. correlationIdFor(MessageId messageId)Creates aCorrelationIdmatching the givenMessageId.static CorrelationIdCorrelationId. fromString(String value)Creates a newCorrelationIdusing the string representation of anUUID.static CorrelationIdCorrelationId. newUniqueCorrelationId()Creates a new, randomly generatedCorrelationId. -
Uses of CorrelationId in de.quantummaid.eventmaid.messagebus
Methods in de.quantummaid.eventmaid.messagebus with parameters of type CorrelationId Modifier and Type Method Description SubscriptionIdMessageBus. onException(CorrelationId correlationId, MessageBusExceptionListener exceptionListener)Adds a dynamicMessageBusExceptionListenerfor the messages matching theCorrelationId.MessageIdMessageBus. send(EventType eventType, Object object, CorrelationId correlationId)Sends the message with the givenEventType.SubscriptionIdMessageBus. subscribe(CorrelationId correlationId, Subscriber<ProcessingContext<Object>> subscriber)Adds the givenSubscriberfor all messages with a matchingCorrelationId.SubscriptionIdMessageBus. subscribe(CorrelationId correlationId, Consumer<ProcessingContext<Object>> consumer)Adds the givenConsumerwrapped in aSubscriberobject for all messages with a matchingCorrelationId. -
Uses of CorrelationId in de.quantummaid.eventmaid.messagebus.internal.correlationids
Methods in de.quantummaid.eventmaid.messagebus.internal.correlationids with parameters of type CorrelationId Modifier and Type Method Description SubscriptionIdCorrelationBasedSubscriptions. addCorrelationBasedSubscriber(CorrelationId correlationId, Subscriber<ProcessingContext<Object>> subscriber)SubscriptionIdCorrelationBasedSubscriptionsImpl. addCorrelationBasedSubscriber(CorrelationId correlationId, Subscriber<ProcessingContext<Object>> subscriber)List<Subscriber<ProcessingContext<Object>>>CorrelationBasedSubscriptions. getSubscribersFor(CorrelationId correlationId)List<Subscriber<ProcessingContext<Object>>>CorrelationBasedSubscriptionsImpl. getSubscribersFor(CorrelationId correlationId) -
Uses of CorrelationId in de.quantummaid.eventmaid.messagebus.internal.exception
Methods in de.quantummaid.eventmaid.messagebus.internal.exception with parameters of type CorrelationId Modifier and Type Method Description SubscriptionIdExceptionListenerHandler. register(CorrelationId correlationId, MessageBusExceptionListener exceptionListener)SubscriptionIdExceptionListenerHandlerImpl. register(CorrelationId correlationId, MessageBusExceptionListener exceptionListener) -
Uses of CorrelationId in de.quantummaid.eventmaid.processingcontext
Methods in de.quantummaid.eventmaid.processingcontext that return CorrelationId Modifier and Type Method Description CorrelationIdProcessingContext. generateCorrelationIdForAnswer()Creates aCorrelationIdmatching the currentProcessingContext'sMessageId.CorrelationIdProcessingContext. getCorrelationId()Methods in de.quantummaid.eventmaid.processingcontext with parameters of type CorrelationId Modifier and Type Method Description static <T> ProcessingContext<T>ProcessingContext. processingContext(EventType eventType, MessageId messageId, CorrelationId correlationId, T payload, Object errorPayload)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContext(EventType eventType, MessageId messageId, CorrelationId correlationId, T payload, Object errorPayload, Map<Object,Object> contextMetaData, ChannelProcessingFrame<T> initialProcessingFrame, ChannelProcessingFrame<T> currentProcessingFrame)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContext(EventType eventType, T payload, CorrelationId correlationId)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContextForPayloadAndError(EventType eventType, CorrelationId correlationId, T payload, Object errorPayload)Factory method to create a newProcessingContext.voidProcessingContext. setCorrelationId(CorrelationId correlationId) -
Uses of CorrelationId in de.quantummaid.eventmaid.serializedmessagebus
Methods in de.quantummaid.eventmaid.serializedmessagebus with parameters of type CorrelationId Modifier and Type Method Description MessageIdSerializedMessageBus. send(EventType eventType, Object data, CorrelationId correlationId)Sends the given data in form of aMapon theMessageBuswith theEventTypeandCorrelationIdset.MessageIdSerializedMessageBus. send(EventType eventType, Object data, Object errorData, CorrelationId correlationId)Sends the given data and error data both in form of aMapon theMessageBuswith theEventTypeandCorrelationId.MessageIdSerializedMessageBusImpl. send(EventType eventType, Object data, CorrelationId correlationId)MessageIdSerializedMessageBusImpl. send(EventType eventType, Object data, Object errorData, CorrelationId correlationId)MessageIdSerializedMessageBus. serializeAndSend(EventType eventType, Object data, CorrelationId correlationId)Serializes the data to aMapand then sends it with theEventTypeandCorrelationIdon theMessageBus.MessageIdSerializedMessageBus. serializeAndSend(EventType eventType, Object data, Object errorData, CorrelationId correlationId)Serializes the data and error data to aMapand then sends both with theEventTypeandCorrelationIdon theMessageBus.MessageIdSerializedMessageBusImpl. serializeAndSend(EventType eventType, Object data, CorrelationId correlationId)MessageIdSerializedMessageBusImpl. serializeAndSend(EventType eventType, Object data, Object errorData, CorrelationId correlationId)SubscriptionIdSerializedMessageBus. subscribe(CorrelationId correlationId, Subscriber<PayloadAndErrorPayload<Map<String,Object>,Map<String,Object>>> subscriber)Adds the givenSubscriberfor all not deserialized messages of the givenCorrelationId.SubscriptionIdSerializedMessageBusImpl. subscribe(CorrelationId correlationId, Subscriber<PayloadAndErrorPayload<Map<String,Object>,Map<String,Object>>> subscriber)<P,E>
SubscriptionIdSerializedMessageBus. subscribeDeserialized(CorrelationId correlationId, Subscriber<PayloadAndErrorPayload<P,E>> subscriber, Class<P> responseClass, Class<E> errorClass)Adds the givenSubscriberfor all messages of the givenEventType.<P,E>
SubscriptionIdSerializedMessageBusImpl. subscribeDeserialized(CorrelationId correlationId, Subscriber<PayloadAndErrorPayload<P,E>> subscriber, Class<P> responseClass, Class<E> errorClass)
-