29.3. Methods
The following method is defined in the interface javax.jms.MessageListener.
onMessage
public void onMessage(Message message)
Passes a message to the listener.
PARAMETERS:
message the message passed to the listener
Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.