Class JmsAuditMessageListener
java.lang.Object
org.openehealth.ipf.commons.audit.queue.JmsAuditMessageListener
- All Implemented Interfaces:
javax.jms.MessageListener
JMS Message Listener that receives audit messages from a queue and sends them
to an audit repository. It is recommended to use infrastructure classes such
as Spring's JMS MessageListenerContainers to control transactional behavior,
message redelivery and other features.
This class supports JMS headers transferred by JmsAuditMessageQueue
and
reuses them for setting the RFC 5424 headers of the actual syslog audit.
- Since:
- 3.5
- Author:
- Christian Ohr
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JmsAuditMessageListener
-
-
Method Details
-
onMessage
public void onMessage(javax.jms.Message message) - Specified by:
onMessage
in interfacejavax.jms.MessageListener
-