This documentation is for WSO2 Enterprise Integrator version 6.1.1 . View documentation for the latest release.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

ClientApiNonBlocking

Possible Values

"true", "false"

Default Behavior

true

Scope

axis2

Description

By default, Axis2 will spawn spawns a new thread to handle each outgoing message. To change this behavior, This property holds the primary thread until a VFS proxy writes to a VFS endpoint. You need to remove this property from the message . Removal of this property could be vital when to change this behavior when queuing transports like JMS are involved.A VFS proxy that writes to a VFS endpoint should have this property set in order to hold the primary thread until the send happens. 

Example

Code Block
<property name="ClientApiNonBlocking" action="remove" scope="axis2"/>

...

Name

transportNonBlocking

Possible Values

"true", "false"

Default Behavior

true

Scope

axis2

Description

This property works the same way as ClientApiNonBlocking. ClientApiNonBy default, Axis2 spawns a new thread to handle each outgoing message. This property holds the primary thread until a VFS proxy writes to a VFS endpoint. You need to remove this property from the message to change this behavior when queuing transports like JMS are involved.Blocking. It is recommended to use ClientApiNonBlocking for this purpose instead of transportNonBlocking since the former uses the latest axis2 translations.

Example

Code Block
<property name="transportNonBlocking" action="remove" scope="axis2" value="true"/>

...