org.exolab.jms.client
Interface JmsMessageListener
- All Superinterfaces:
- javax.jms.MessageListener
- All Known Implementing Classes:
- IntravmJmsSessionStub, org.exolab.jms.client.JmsSession, HttpJmsSessionSender, IpcJmsSessionSender, RmiJmsServerSession
- public interface JmsMessageListener
- extends javax.jms.MessageListener
This interface extends the MessageListener
interface and
provides a mechanism to send more than one message to the session
- Version:
- $Revision: 1.4 $ $Date: 2003/08/07 13:32:50 $
- Author:
- Jim Alateras
Method Summary |
void |
onMessageAvailable(long clientId)
Inform the session that there is a message available
for the message consumer with the specified identity |
void |
onMessages(java.util.Vector messages)
Send the specified collection of messages to the client |
Methods inherited from interface javax.jms.MessageListener |
onMessage |
onMessages
public void onMessages(java.util.Vector messages)
- Send the specified collection of messages to the client
- Parameters:
messages
- - collection of MessageHandle objects
onMessageAvailable
public void onMessageAvailable(long clientId)
- Inform the session that there is a message available
for the message consumer with the specified identity
- Parameters:
clientId
- - the identity of the client
Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.