Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.resource.adapter.jms
Class JmsMessageListener

    java.lang.Object
      org.jboss.resource.adapter.jms.JmsMessageListener

All Implemented Interfaces:
  javax.jms.MessageListener

public class JmsMessageListener
extends Object
implements javax.jms.MessageListener

A wrapper for a message listener

Version:
  $Revision: 1.1 $
Author:
  Adrian Brock

Constructor Summary
`JmsMessageListener(javax.jms.MessageListener listener, JmsMessageConsumer consumer)` Create a new wrapper

Method Summary
`void` | `onMessage(javax.jms.Message message)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JmsMessageListener

    public JmsMessageListener(javax.jms.MessageListener listener,
                              JmsMessageConsumer consumer)

  Create a new wrapper

Parameters:
  `listener` - the listener
  `consumer` - the consumer

Method Detail

### onMessage

    public void onMessage(javax.jms.Message message)

  Specified by:
    `onMessage` in interface `javax.jms.MessageListener`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.