Package ru.bitel.bgbilling.kernel.event
Class MessageAdapter
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.event.MessageAdapter
public class MessageAdapter
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
Сериализует/десериализует объект-событие в/из сообщения.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final int
protected final int
protected final javax.jms.Session
protected final long
-
Constructor Summary
ConstructorDescriptionMessageAdapter
(javax.jms.Session session, int deliveryMode, int priority, long timeToLive, Class<?>... classes) MessageAdapter
(javax.jms.Session session, Class<? extends ru.bitel.bgbilling.kernel.event.common.Event> clazz) -
Method Summary
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
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 jakarta.xml.bind.JAXBException - Throws:
jakarta.xml.bind.JAXBException
-
MessageAdapter
public MessageAdapter(javax.jms.Session session, int deliveryMode, int priority, long timeToLive, Class<?>... classes) throws jakarta.xml.bind.JAXBException - Throws:
jakarta.xml.bind.JAXBException
-