Class DelimiterTransform

java.lang.Object
com.onenetwork.platform.integ.msg.MessageTransform
com.onenetwork.platform.integ.msg.DelimiterTransform

public class DelimiterTransform
extends MessageTransform
Use this transform to write the payload with a custom delimiter instead of the delimiter specified on the interface for outbound messages and for inbound messages, use this transform to convert the payload with a custom delimiter to the one specified on the interface. This transform class can be used to transform the delimiter of a message payload during enqueue or dequeue of a Message. The custom delimiter must be specified by adding ExternalReference records as follows - RefType - "DelimiterTransform:Field" ExternalValue - ~~~~ or ~ LocalValue -
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String REFTYPE_FOR_CUSTOM_FIELD_DELIM  
  • Constructor Summary

    Constructors 
    Constructor Description
    DelimiterTransform()  
  • Method Summary

    Modifier and Type Method Description
    void transform​(java.io.InputStream in, java.io.OutputStream out, MessageTransformContext transformContext)
    Implementor should read the payload from the InputStream and write it to the OutputStream.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait