Class ByteArrayFromMetadata

  • All Implemented Interfaces:
    MessageWrapper<byte[]>

    @ComponentProfile(summary="Turn a metadata value into a byte array.",
                      since="3.9.0")
    public class ByteArrayFromMetadata
    extends ByteArrayFromMetadataWrapper
    Wraps a metadata value as a byte[]

    In the adapter configuration file this class is aliased as byte-array-from-metadata which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • ByteArrayFromMetadata

        public ByteArrayFromMetadata()
    • Method Detail

      • wrap

        public byte[] wrap​(InterlokMessage m)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception