WebSphere WebSphere Business Integration Message Service Clients for C/C++ Version 1.2.7 and .NET Version 1.2.6 Operating Systems: AIX, Linux, Solaris, 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 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: 18 Jun 2008

© Copyright IBM Corporation 2005, 2008. All Rights Reserved.