Class MessageAdapter

java.lang.Object
ru.bitel.bgbilling.kernel.event.MessageAdapter
Direct Known Subclasses:
Consumer, Producer

public class MessageAdapter extends Object
Сериализует/десериализует объект-событие в/из сообщения.
  • Field Details

    • session

      protected final javax.jms.Session session
    • deliveryMode

      protected final int deliveryMode
    • priority

      protected final int priority
    • timeToLive

      protected final long timeToLive
  • Constructor Details

    • MessageAdapter

      public MessageAdapter(javax.jms.Session session, Class<? extends ru.bitel.bgbilling.kernel.event.common.Event> clazz) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • MessageAdapter

      public MessageAdapter(javax.jms.Session session, int deliveryMode, int priority, long timeToLive, Class<?>... classes) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException