站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

JMSEndpoint (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.transport.jms
Class JMSEndpoint

java.lang.Object
  extended byorg.apache.axis.transport.jms.JMSEndpoint

public abstract class JMSEndpoint
extends Object

JMSEndpoint encapsulates interactions w/ a JMS destination.

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

Constructor Summary
protected JMSEndpoint(JMSConnector connector)
           
 
Method Summary
 byte[] call(byte[] message, long timeout)
          Send a message and wait for a response.
 byte[] call(byte[] message, long timeout, HashMap properties)
          Send a message and wait for a response.
protected  Subscription createSubscription(javax.jms.MessageListener listener, HashMap properties)
           
 boolean equals(Object object)
           
 int hashCode()
           
 void registerListener(javax.jms.MessageListener listener)
          Register a MessageListener.
 void registerListener(javax.jms.MessageListener listener, HashMap properties)
          Register a MessageListener.
 void send(byte[] message)
          Send a message w/o waiting for a response.
 void send(byte[] message, HashMap properties)
          Send a message w/o waiting for a response.
 void unregisterListener(javax.jms.MessageListener listener)
          Unregister a message listener.
 void unregisterListener(javax.jms.MessageListener listener, HashMap properties)
          Unregister a message listener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSEndpoint

protected JMSEndpoint(JMSConnector connector)
Method Detail

call

public byte[] call(byte[] message,
                   long timeout)
            throws Exception
Send a message and wait for a response.

Parameters:
message -
timeout -
Returns:
Throws:
javax.jms.JMSException
Exception

call

public byte[] call(byte[] message,
                   long timeout,
                   HashMap properties)
            throws Exception
Send a message and wait for a response.

Parameters:
message -
timeout -
properties -
Returns:
Throws:
javax.jms.JMSException
Exception

send

public void send(byte[] message)
          throws Exception
Send a message w/o waiting for a response.

Parameters:
message -
Throws:
javax.jms.JMSException
Exception

send

public void send(byte[] message,
                 HashMap properties)
          throws Exception
Send a message w/o waiting for a response.

Parameters:
message -
properties -
Throws:
javax.jms.JMSException
Exception

registerListener

public void registerListener(javax.jms.MessageListener listener)
                      throws Exception
Register a MessageListener.

Parameters:
listener -
Throws:
javax.jms.JMSException
Exception

registerListener

public void registerListener(javax.jms.MessageListener listener,
                             HashMap properties)
                      throws Exception
Register a MessageListener.

Parameters:
listener -
properties -
Throws:
javax.jms.JMSException
Exception

unregisterListener

public void unregisterListener(javax.jms.MessageListener listener)
Unregister a message listener.

Parameters:
listener -

unregisterListener

public void unregisterListener(javax.jms.MessageListener listener,
                               HashMap properties)
Unregister a message listener.

Parameters:
listener -
properties -

createSubscription

protected Subscription createSubscription(javax.jms.MessageListener listener,
                                          HashMap properties)

hashCode

public int hashCode()

equals

public boolean equals(Object object)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.