Handles a message delivered by the broker to the consumer.
This method is expected to be overridden by extending sub classes which contain the actual consumer implementation and process the message.
IMPORTANT: In case the consumer is configured to acknowledge messages manually the acknowledgment is handled by the super class. It is sent automatically after this method returned without throwing and exception. In case the method throws an exception, a negative acknowledgment will be sent.
@param message The delivered messagehandleMessage
method is invoked for normal processing of inbound and outbound messages. Refer to the description of the handler framework in the JAX-WS specification for full details.
@param context the message context.
@return An indication of whether handler processing should continue forthe current message true
to continue processing.false
to block processing.
|
|
|
|
|
|