org.apache.axis.transport.jms

Class JMSTransport

public class JMSTransport extends Transport

JMSTransport is the JMS-specific implemenation of org.apache.axis.client.Transport. It implements the setupMessageContextImpl() function to set JMS-specific message context fields and transport chains. There are two Connector and connection factory properties are passed in during instantiation and are in turn passed through when creating a connector.

Author: Jaime Meritt (jmeritt@sonicsoftware.com) Richard Chung (rchung@sonicsoftware.com) Dave Chappell (chappell@sonicsoftware.com) Ray Chun (rchun@sonicsoftware.com)

Field Summary
protected static Loglog
Constructor Summary
JMSTransport()
JMSTransport(HashMap connectorProps, HashMap connectionFactoryProps)
Method Summary
static voidcloseAllConnectors()
Closes all JMS connectors
static voidcloseMatchingJMSConnectors(String endpointAddr, String username, String password)
Closes JMS connectors that match the specified endpoint address
voidsetupMessageContextImpl(MessageContext context, Call message, AxisEngine engine)
Set up any transport-specific derived properties in the message context.
voidshutdown()
Shuts down the connectors managed by this JMSTransport.

Field Detail

log

protected static Log log

Constructor Detail

JMSTransport

public JMSTransport()

JMSTransport

public JMSTransport(HashMap connectorProps, HashMap connectionFactoryProps)

Method Detail

closeAllConnectors

public static void closeAllConnectors()
Closes all JMS connectors

closeMatchingJMSConnectors

public static void closeMatchingJMSConnectors(String endpointAddr, String username, String password)
Closes JMS connectors that match the specified endpoint address

Parameters: endpointAddr the JMS endpoint address username password

setupMessageContextImpl

public void setupMessageContextImpl(MessageContext context, Call message, AxisEngine engine)
Set up any transport-specific derived properties in the message context.

Parameters: context the context to set up message the client service instance engine the engine containing the registries

Throws: AxisFault if service cannot be found

shutdown

public void shutdown()
Shuts down the connectors managed by this JMSTransport.
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.