Handlers
Endpoints and Handlers 153
JMSEXIT Property This optional property is used for customization. It specifies the fully qualified
name of a Java class that runs the JMSExit interface. The Java class must
implement the getMessageProperties() method that is defined in the JMSExit
interface.
You can use this option change or add properties in the JMS message. If this
property does not contain a value, the header attributes for the message are not
changed when the message is delivered to the external queue or topic.
The Java class must be in the class path for the application server or in the
application EAR file.
PROVIDERURL Property This required property specifies a local or remote URL where the JMS provider
can be accessed. If the target JMS provider is local to the application server of the
handler, the property is not required.
The following property is an example of a WebSphere Application Server
PROVIDERURL value.
corbaloc:iiop:hostname:iiopport
USERNAME and
PASSWORD Properties
These properties correspond to the java.naming.security.principal (USERNAME)
and java.naming.security.credentials (PASSWORD) properties used for creating
the InitialContext object.
PROVIDERUSER and
PROVIDERPASWORD
Properties
These properties are used for the JMS provider authentication. The properties
map to the connectionFactory.createConnection(provideruser,providerpassword)
API in JMS.
WEBSERVICE Handler
The WEBSERVICE handler is a Java component that consists of several properties.
The handler invokes a specified Web service with system data as a SOAP request
parameter. This handler is Dynamic Invocation Interface (DII) based on BP 1.1, a
document-literal compliant Web service.
The WEBSERVICE handler has the following properties:
MEP Property This optional property specifies the message exchange pattern for the Web
service. The property supports the following values. If you do not provide a
value, the default value sendreceive is used.
SERVICENAME Property This required property specifies the name of the Web service deployed in the
URL.
SOAPACTION Property This optional property specifies the value of SOAPAction HTTP header to be used
when invoking the Web service is called. The default value is an empty string
value "". You can use the WSEXIT class to override the value specified in the user
interface before you invoke the Web service.
Value Web Service Operation Type
sendreceive Request and response
sendrobust Request with void or fault response
fireandforget Request only, no response, or fault