Class AbstractXmlSinkModule<S extends Message,​T extends Message>

    • Constructor Detail

      • AbstractXmlSinkModule

        public AbstractXmlSinkModule​(java.lang.Class<T> messageClazz)
    • Method Detail

      • marshal

        public byte[] marshal​(T message)
        Description copied from interface: SinkModule
        Marshals the aggregated message to a byte array.
        Specified by:
        marshal in interface SinkModule<S extends Message,​T extends Message>
      • unmarshal

        public T unmarshal​(byte[] bytes)
        Description copied from interface: SinkModule
        Unmarshals the aggregated message from a byte array.
        Specified by:
        unmarshal in interface SinkModule<S extends Message,​T extends Message>
      • unmarshalSingleMessage

        public S unmarshalSingleMessage​(byte[] bytes)
        Modules with different aggregated message should override this method
        Specified by:
        unmarshalSingleMessage in interface SinkModule<S extends Message,​T extends Message>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object