WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

MessageListener

An application uses a message listener to receive messages asynchronously.

Inheritance hierarchy:
None

Methods

Summary of methods:
Method Description
onMessage Deliver a message asynchronously to the message consumer.

onMessage – On Message

Interface:
virtual xmsVOID onMessage(Message *message);

Deliver a message asynchronously to the message consumer.

onMessage() is a method of the message listener that is registered with the message consumer. The name of the method must be onMessage.

For more information about using message listeners, see Using message listeners in C++.

Parameters:
message (input)
A pointer to the Message object.
Returns:
Void

Reference topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.