MessageListener

public interface MessageListener

A MessageListener is used to receive asynchronously delivered messages.

Methods

onMessage
public void onMessage(Message message)

Pass a message to the Listener.

Parameters:
message - the message passed to the listener.

See also
Session.setMessageListener



© IBM Corporation 1997, 2002. All Rights Reserved