public class JmsAuditEventHandlerConfiguration extends EventHandlerConfiguration
JmsAuditEventHandler.
This configuration object can be created from JSON. Example of valid JSON configuration:
{
"name" : "jms",
"topics": [ "access", "activity", "config", "authentication" ],
"deliveryMode" : "NON_PERSISTENT",
"sessionMode" : "AUTO",
"jndi" : {
"contextProperties" : {
"initialContextFactory" : "org.apache.activemq.jndi.ActiveMQInitialContextFactory",
"providerUrl" : "tcp://localhost:61616"
},
"topicName" : "audit",
"connectionFactoryName" : "connectionFactory"
}
}
| Modifier and Type | Class and Description |
|---|---|
static class |
JmsAuditEventHandlerConfiguration.JndiConfiguration
Stores the JNDI context properties and lookup names.
|
| Constructor and Description |
|---|
JmsAuditEventHandlerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
BatchPublisherConfiguration |
getBatch()
Returns the configuration used to initialize the batch publisher.
|
DeliveryModeConfig |
getDeliveryMode()
Returns the delivery mode configuration that should be used when publishing the JMS messages.
|
JmsAuditEventHandlerConfiguration.JndiConfiguration |
getJndi()
|
SessionModeConfig |
getSessionMode()
Returns the mode that the JMS session should use when publishing the JMS messages.
|
boolean |
isUsableForQueries()
States if an
AuditEventHandler can be used for queries. |
void |
setBatch(BatchPublisherConfiguration batch)
Sets the configuration used to initialize the batch publisher.
|
void |
setDeliveryMode(DeliveryModeConfig deliveryMode)
Sets the delivery mode configuration that should be used when publishing the JMS messages.
|
void |
setJndi(JmsAuditEventHandlerConfiguration.JndiConfiguration jndi)
|
void |
setSessionMode(SessionModeConfig sessionMode)
Sets the session mode that the JMS session should use when publishing the JMS messages.
|
getName, getTopics, isEnabled, setEnabled, setName, setTopicspublic DeliveryModeConfig getDeliveryMode()
public void setDeliveryMode(DeliveryModeConfig deliveryMode)
deliveryMode - the delivery modepublic SessionModeConfig getSessionMode()
Session.getAcknowledgeMode()public void setSessionMode(SessionModeConfig sessionMode)
sessionMode - the session's acknowledgement mode.Session.getAcknowledgeMode()public BatchPublisherConfiguration getBatch()
public void setBatch(BatchPublisherConfiguration batch)
batch - the configuration used to initialize the batch publisher.public JmsAuditEventHandlerConfiguration.JndiConfiguration getJndi()
JmsAuditEventHandlerConfiguration.JndiConfiguration.public void setJndi(JmsAuditEventHandlerConfiguration.JndiConfiguration jndi)
jndi - The JmsAuditEventHandlerConfiguration.JndiConfigurationpublic boolean isUsableForQueries()
EventHandlerConfigurationAuditEventHandler can be used for queries.isUsableForQueries in class EventHandlerConfigurationAuditEventHandler can be used for queries.
False - If the AuditEventHandler can not be used for queries.Copyright © 2025 Open Identity Platform Community. All rights reserved.