Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated the example for "Adding a non-blocking send operation"


titleAdding a non-blocking send operation

In this example, the Send mediator, which is in a the proxy service using the VFS transport is transferring , transfers a file to a Virtual File System (VFS) transport endpoint, using the VFS transport. By default, VFS is a non-blocking transport by default, which means a new thread is spawned for each outgoing message. The Property mediator added , which is added before the Send mediator, removes the ClientAPINonBlocking property from the message to perform the mediation in a single thread. This is required when the file being transferred is large and you want to avoid out-of-memory failures that occur when the file that you are transferring is large.

Code Block
   <property name="ClientApiNonBlocking"
      <endpoint name="FileEpr">
         <address uri="vfs:file:////home/shammi/file-out"/>