public class DefaultMessageFactory extends Object implements JMSEventMessageFactory
Messages composed entirely of headers, based entirely
on information found in the FedoraEvent that triggers publication.| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_URL_HEADER_NAME |
static String |
EVENT_TYPE_HEADER_NAME |
static String |
IDENTIFIER_HEADER_NAME |
static String |
PROPERTIES_HEADER_NAME |
static String |
TIMESTAMP_HEADER_NAME |
| Constructor and Description |
|---|
DefaultMessageFactory() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Message |
getMessage(org.fcrepo.kernel.observer.FedoraEvent jcrEvent,
javax.jms.Session jmsSession)
Produce a JMS message from a JCR event with the
given session
|
public static final String TIMESTAMP_HEADER_NAME
public static final String IDENTIFIER_HEADER_NAME
public static final String EVENT_TYPE_HEADER_NAME
public static final String BASE_URL_HEADER_NAME
public static final String PROPERTIES_HEADER_NAME
public javax.jms.Message getMessage(org.fcrepo.kernel.observer.FedoraEvent jcrEvent,
javax.jms.Session jmsSession)
throws javax.jcr.RepositoryException,
IOException,
javax.jms.JMSException
JMSEventMessageFactorygetMessage in interface JMSEventMessageFactoryjavax.jcr.RepositoryExceptionIOExceptionjavax.jms.JMSExceptionCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.