com.sonicsw.xq.adapter
Interface XQMessageListener
public interface XQMessageListener
The XQMessageListener is created by the XQMessageListenerFactory upon
receipt, by the XQResourceAdapter, of a message. The onMessage method
is called given a reference to the native message.
Method Summary |
java.lang.Object |
onMessage(java.lang.Object msg,
javax.resource.spi.ManagedConnection mc)
dispatches the message to the listener |
onMessage
java.lang.Object onMessage(java.lang.Object msg,
javax.resource.spi.ManagedConnection mc)
throws XQNotDeliveredException
- dispatches the message to the listener
- Parameters:
msg
- the messagemc
- a connection to provide transactional capabilities
- Throws:
XQNotDeliveredException
- thrown when the message should not be acknowledged to the adapter
Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.