xmlSessionIdExtractor
Description
Extracts a session ID from an XML HTTP request body based on the qualified name of an XML element.
Can be used in
spring:beans, balancer
Syntax
<xmlSessionIdExtractor namespace="string/" localName="string" />
Listing 1: xmlSessionIdExtractor Syntax
Sample
<serviceProxy port="2000"> <balancer> <xmlSessionIdExtractor namespace="http://chat.predic8.com/" localName="session" /> </balancer> </serviceProxy>
Listing 2: xmlSessionIdExtractor Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
localName | true | - | Specifies local name of session element. | session |
namespace | true | - | Specifies namespace of session element. | http://chat.predic8.com/ |