com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

SOAP Event Publisher

SOAP event publisher sends SOAP events in the XML format via HTTP, HTTPS and local transports.

Creating a SOAP event publisher

For instructions on creating a SOAP event publisher, see  Creating Alerts .

Configuring global properties

The following global properties can be set for the SOAP event publisher type in the <DAS_HOME>/repository/conf/input-event-adapters.xml file. These properties apply to all the publishers of the soap type. If a global property available by default is removed, the default value of the property is considered.

Custom properties cannot be added as global properties.

Property KeyDescriptionData TypeDefault Value
minThreadThe minimum number of threads (including idle threads) that should be available in the thread pool at a given time.Integer8
maxThreadThe maximum number of threads (including idle threads) that should be available in the thread pool at a given time.Integer100
keepAliveTimeInMillisThe maximum number of milliseconds that idle threads should be kept alive when the total number of threads in the pool exceeds the number of cores in the machine.Integer20000
jobQueueSizeThe maximum number of milliseconds that idle threads should be kept alive when the total number of threads in the pool exceeds the number of cores in the machine.Integer10000
axis2ClientConnectionTimeoutThe number of milliseconds allowed to elapse before the Axis2 client connection times out.Integer10000
reuseHTTPClientIf this property is set to true, it is allowed to reuse the connection to the HTTP client for subsequent requests.Booleantrue
autoReleaseConnectionIf this property is set to true, inactive connections are automatically killed.Booleantrue
maxConnectionsPerHostThe maximum number of connections allowed per host configuration.Integer50

Configuring adapter properties

Specify the Dynamic  Adapter Properties, when creating a SOAP event publisher using the management console as shown below.

SOAP event publisher

After entering the above adapter properties, select t he  Message Format which you want to apply on the published events . Also, click Advanced to define custom output mappings based on the  Message Format you selected. For more information on custom output mapping types, see Output Mapping Types .

You can also d efine the respective adapter properties of the event publisher based on the transport type within the  <to>  element of the event publisher configuration in the <PRODUCT_HOME>/repository/deployment/server/eventpublishers/ directory as follows.

<eventPublisher name="SOAPOutputEventAdapter" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventpublisher">
  ..........
  <to eventAdapterType="soap">
    <property name="httpHeaders">header1: value1, header2: value2</property>
    <property name="username">soap-user</property>
    <property name="soapHeaders">header1: value1, header2: value2</property>
    <property encrypted="true" name="password">hOvbApz3iQVMok/RyJn/AT51VMAGZHVMLLP2a3hkmBP+pKiKSNhUOuZVeHTPAe6Ko+g1s6ut1UAdPP1ctWnZCU0Slw69FFJg7FJkLUzTgN2ZnyEMSRYbt/Kyq/WKJEO8JeNptUaJYsEGhIkRpJg4ZVeOzXekBJt3TxZ3C4H+06I=</property>
    <property name="url">http://localhost:9763/services/Axis2LogService/log</property>
  </to>
</eventPublisher>

The above adapter properties are described below.

Adapter Property
Description
Configuration file propertyExample

Url

Destination web service URL
url
http://localhost:9763/services/Axis2LogService/log
User NameUsername token which is required to send event to a HTTPS endpoint. 
username
soap-user
Password Password token which is required to send event to a HTTPS endpoint. 
password
soap-password
SOAP Headers

Necessary SOAP headers.  

soapHeaders
header1: value1, header2: value2

HTTP Headers

Necessary HTTP headers.

httpHeaders
header1: value1, header2: value2"

Related samples

For more information on soap event publisher type, see the following sample in CEP Documentation.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.