# Deprecated API

## Contents

- Deprecated Methods
- Deprecated Constructors

- Deprecated Methods
  Method and Description
  org.apache.synapse.transport.passthru.util.RelayUtils.consumeAndDiscardMessage(MessageContext) use `RelayUtils.discardRequestMessage(MessageContext)` instead
  org.apache.synapse.transport.nhttp.NhttpSharedOutputBuffer.produceContent(ContentEncoder)

- Deprecated Constructors
  Constructor and Description
  org.apache.synapse.transport.nhttp.NhttpSharedOutputBuffer(int, IOControl, ByteBufferAllocator)

Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.