All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.otto.synapse.translator.TextDecoder Maven / Gradle / Ivy

Go to download

A library used at otto.de to implement Spring Boot based event-sourcing microservices.

The newest version!
package de.otto.synapse.translator;

import de.otto.synapse.message.Header;
import de.otto.synapse.message.Key;
import de.otto.synapse.message.TextMessage;
import org.slf4j.Logger;

import static org.slf4j.LoggerFactory.getLogger;

public final class TextDecoder extends AbstractTextDecoder {

    private static final Logger LOG = getLogger(TextDecoder.class);

    @Override
    public TextMessage apply(final String s) {
        return decode(Key.of(), Header.of(), s);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy