Package org.apache.axis.transport.jms
Class JMSEndpoint
java.lang.Object
org.apache.axis.transport.jms.JMSEndpoint
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
call
(byte[] message, long timeout) Send a message and wait for a response.byte[]
Send a message and wait for a response.protected Subscription
createSubscription
(MessageListener listener, HashMap properties) boolean
int
hashCode()
void
registerListener
(MessageListener listener) Register a MessageListener.void
registerListener
(MessageListener listener, HashMap properties) Register a MessageListener.void
send
(byte[] message) Send a message w/o waiting for a response.void
Send a message w/o waiting for a response.void
unregisterListener
(MessageListener listener) Unregister a message listener.void
unregisterListener
(MessageListener listener, HashMap properties) Unregister a message listener.
-
Constructor Details
-
JMSEndpoint
-
-
Method Details
-
call
Send a message and wait for a response.- Parameters:
message
-timeout
-- Returns:
- Throws:
JMSException
Exception
-
call
Send a message and wait for a response.- Parameters:
message
-timeout
-properties
-- Returns:
- Throws:
JMSException
Exception
-
send
Send a message w/o waiting for a response.- Parameters:
message
-- Throws:
JMSException
Exception
-
send
Send a message w/o waiting for a response.- Parameters:
message
-properties
-- Throws:
JMSException
Exception
-
registerListener
Register a MessageListener.- Parameters:
listener
-- Throws:
JMSException
Exception
-
registerListener
Register a MessageListener.- Parameters:
listener
-properties
-- Throws:
JMSException
Exception
-
unregisterListener
public void unregisterListener(MessageListener listener) Unregister a message listener.- Parameters:
listener
-
-
unregisterListener
Unregister a message listener.- Parameters:
listener
-properties
-
-
createSubscription
-
hashCode
public int hashCode() -
equals
-