Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis.transport.jms
Class JMSEndpoint

    java.lang.Object
      |
      +--org.apache.axis.transport.jms.JMSEndpoint

public abstract class JMSEndpoint
extends java.lang.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, java.util.HashMap properties)` Send a message and wait for a response.
`protected Subscription` | `createSubscription(javax.jms.MessageListener listener, java.util.HashMap properties)`
`boolean` | `equals(java.lang.Object object)`
`int` | `hashCode()`
`void` | `registerListener(javax.jms.MessageListener listener)` Register a MessageListener.
`void` | `registerListener(javax.jms.MessageListener listener, java.util.HashMap properties)` Register a MessageListener.
`void` | `send(byte[] message)` Send a message w/o waiting for a response.
`void` | `send(byte[] message, java.util.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, java.util.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 java.lang.Exception

  Send a message and wait for a response.
  Parameters:
    `message` -
    `timeout` -
  Returns:
  Throws:
    `javax.jms.JMSException` -

### call

    public byte[] call(byte[] message,
                       long timeout,
                       java.util.HashMap properties)
                throws java.lang.Exception

  Send a message and wait for a response.
  Parameters:
    `message` -
    `timeout` -
    `properties` -
  Returns:
  Throws:
    `javax.jms.JMSException` -

### send

    public void send(byte[] message)
              throws java.lang.Exception

  Send a message w/o waiting for a response.
  Parameters:
    `message` -
  Throws:
    `javax.jms.JMSException` -

### send

    public void send(byte[] message,
                     java.util.HashMap properties)
              throws java.lang.Exception

  Send a message w/o waiting for a response.
  Parameters:
    `message` -
    `properties` -
  Throws:
    `javax.jms.JMSException` -

### registerListener

    public void registerListener(javax.jms.MessageListener listener)
                          throws java.lang.Exception

  Register a MessageListener.
  Parameters:
    `listener` -
  Throws:
    `javax.jms.JMSException` -

### registerListener

    public void registerListener(javax.jms.MessageListener listener,
                                 java.util.HashMap properties)
                          throws java.lang.Exception

  Register a MessageListener.
  Parameters:
    `listener` -
    `properties` -
  Throws:
    `javax.jms.JMSException` -

### unregisterListener

    public void unregisterListener(javax.jms.MessageListener listener)

  Unregister a message listener.
  Parameters:
    `listener` -

### unregisterListener

    public void unregisterListener(javax.jms.MessageListener listener,
                                   java.util.HashMap properties)

  Unregister a message listener.
  Parameters:
    `listener` -
    `properties` -

### createSubscription

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

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

### equals

    public boolean equals(java.lang.Object object)

  Overrides:
    `equals` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 Apache XML Project. All Rights Reserved.