Search in sources :

Example 1 with IOutputStreamingSupport

use of nl.nn.adapterframework.stream.IOutputStreamingSupport in project iaf by ibissource.

the class MessageSendingPipe method provideOutputStream.

@Override
protected MessageOutputStream provideOutputStream(PipeLineSession session) throws StreamingException {
    MessageOutputStream result = null;
    if (sender instanceof IOutputStreamingSupport) {
        // TODO insert output validator
        // TODO insert output wrapper
        IOutputStreamingSupport streamingSender = (IOutputStreamingSupport) sender;
        result = streamingSender.provideOutputStream(session, getNextPipe());
    // TODO insert input wrapper
    // TODO insert input validator
    }
    return result;
}
Also used : MessageOutputStream(nl.nn.adapterframework.stream.MessageOutputStream) IOutputStreamingSupport(nl.nn.adapterframework.stream.IOutputStreamingSupport)

Aggregations

IOutputStreamingSupport (nl.nn.adapterframework.stream.IOutputStreamingSupport)1 MessageOutputStream (nl.nn.adapterframework.stream.MessageOutputStream)1