@Override public Builder messageMonitor(MessageMonitor<? super EventMessage<?>> messageMonitor) { super.messageMonitor(messageMonitor); return this; }
private void buildStorageEngine() { assertNonNull(configuration, "The AxonServerConfiguration is a hard requirement and should be provided"); assertNonNull(axonServerConnectionManager, "The PlatformConnectionManager is a hard requirement and should be provided"); AxonServerEventStoreClient eventStoreClient = new AxonServerEventStoreClient(configuration, axonServerConnectionManager); super.storageEngine(AxonIQEventStorageEngine.builder() .snapshotSerializer(snapshotSerializer) .upcasterChain(upcasterChain) .snapshotFilter(snapshotFilter) .eventSerializer(eventSerializer) .configuration(configuration) .eventStoreClient(eventStoreClient) .converter(new GrpcMetaDataConverter(eventSerializer)) .build()); }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); } }
@Override public Builder storageEngine(EventStorageEngine storageEngine) { super.storageEngine(storageEngine); return this; }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); } }
@Override public Builder storageEngine(EventStorageEngine storageEngine) { super.storageEngine(storageEngine); return this; }
@Override public Builder messageMonitor(MessageMonitor<? super EventMessage<?>> messageMonitor) { super.messageMonitor(messageMonitor); return this; }
private void buildStorageEngine() { assertNonNull(configuration, "The AxonServerConfiguration is a hard requirement and should be provided"); assertNonNull(axonServerConnectionManager, "The PlatformConnectionManager is a hard requirement and should be provided"); AxonServerEventStoreClient eventStoreClient = new AxonServerEventStoreClient(configuration, axonServerConnectionManager); super.storageEngine(AxonIQEventStorageEngine.builder() .snapshotSerializer(snapshotSerializer) .upcasterChain(upcasterChain) .snapshotFilter(snapshotFilter) .eventSerializer(eventSerializer) .configuration(configuration) .eventStoreClient(eventStoreClient) .converter(new GrpcMetaDataConverter(eventSerializer)) .build()); }
@Override public Builder messageMonitor(MessageMonitor<? super EventMessage<?>> messageMonitor) { super.messageMonitor(messageMonitor); return this; }
@Override public Builder messageMonitor(MessageMonitor<? super EventMessage<?>> messageMonitor) { super.messageMonitor(messageMonitor); return this; }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); } }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); } }
@Override public Builder storageEngine(EventStorageEngine storageEngine) { super.storageEngine(storageEngine); return this; }
@Override public Builder storageEngine(EventStorageEngine storageEngine) { super.storageEngine(storageEngine); return this; }