public class AsynchronousMessageListenerProxy extends Object implements javax.jms.MessageListener
| Constructor and Description |
|---|
AsynchronousMessageListenerProxy(javax.jms.MessageListener listener,
AsynchronousManager asynchronousManager)
Create a Proxy
|
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(javax.jms.Message message)
Registers the call to the listener.
|
public AsynchronousMessageListenerProxy(javax.jms.MessageListener listener,
AsynchronousManager asynchronousManager)
listener - the listener to be called asynchronously. Normally the Mdb should be behind this.asynchronousManager - The asynchronous Managed where the calls are registered so that they can be called by the
test code at a specific time.Copyright © 2017–2018. All rights reserved.