# Uses of Interface
com.sun.messaging.jms.notification.EventListener

Packages that use EventListener
Package
Description
com.sun.messaging.jms
Provides additional Eclipse OpenMQ classes for features that relate to the MQ implementation of the Jakarta Messaging.

- ## Uses of EventListener in com.sun.messaging.jms

  Methods in com.sun.messaging.jms with parameters of type EventListener
  Modifier and Type
  Method
  Description
  `void`
  Connection.`setConsumerEventListener(Destination dest, EventListener listener)`
  Set consumer event listener on a destination to the current connection.
  `void`
  Connection.`setEventListener(EventListener listener)`
  Set MQ connection event listener to the current connection.