MDB enabled KIE-SERVER ejb-jar.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ejb-jar id="ejb-jar_ID" version="3.1" | |
xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | |
http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"> | |
<enterprise-beans> | |
<message-driven> | |
<ejb-name>KieExecutorMDB</ejb-name> | |
<ejb-class>org.kie.server.jms.executor.KieExecutorMDB</ejb-class> | |
<transaction-type>Bean</transaction-type> | |
<activation-config> | |
<activation-config-property> | |
<activation-config-property-name>destination</activation-config-property-name> | |
<activation-config-property-value>java:/QUEUE/EXECUTOR</activation-config-property-value> | |
</activation-config-property> | |
<activation-config-property> | |
<activation-config-property-name>destinationType</activation-config-property-name> | |
<activation-config-property-value>javax.jms.Queue</activation-config-property-value> | |
</activation-config-property> | |
<activation-config-property> | |
<activation-config-property-name>acknowledgeMode</activation-config-property-name> | |
<activation-config-property-value>Auto-acknowledge</activation-config-property-value> | |
</activation-config-property> | |
</activation-config> | |
</message-driven> | |
<message-driven> | |
<ejb-name>KieServerMDB</ejb-name> | |
<ejb-class>org.kie.server.jms.KieServerMDB</ejb-class> | |
<transaction-type>Bean</transaction-type> | |
<activation-config> | |
<activation-config-property> | |
<activation-config-property-name>destination</activation-config-property-name> | |
<activation-config-property-value>java:/QUEUE/REQUEST</activation-config-property-value> | |
</activation-config-property> | |
<activation-config-property> | |
<activation-config-property-name>destinationType</activation-config-property-name> | |
<activation-config-property-value>javax.jms.Queue</activation-config-property-value> | |
</activation-config-property> | |
<activation-config-property> | |
<activation-config-property-name>acknowledgeMode</activation-config-property-name> | |
<activation-config-property-value>Auto-acknowledge</activation-config-property-value> | |
</activation-config-property> | |
</activation-config> | |
</message-driven> | |
<!-- enable when external signals are required and queue and connection factory is defined --> | |
<message-driven> | |
<ejb-name>JMSSignalReceiver</ejb-name> | |
<ejb-class>org.jbpm.process.workitem.jms.JMSSignalReceiver</ejb-class> | |
<transaction-type>Bean</transaction-type> | |
<activation-config> | |
<activation-config-property> | |
<activation-config-property-name>destinationType</activation-config-property-name> | |
<activation-config-property-value>javax.jms.Queue</activation-config-property-value> | |
</activation-config-property> | |
<activation-config-property> | |
<activation-config-property-name>destination</activation-config-property-name> | |
<activation-config-property-value>java:/QUEUE/SIGNAL</activation-config-property-value> | |
</activation-config-property> | |
</activation-config> | |
</message-driven> | |
<!-- enable when jms mode for audit is required and queue and connection factory is defined | |
<message-driven> | |
<ejb-name>CompositeAsyncAuditLogReceiver</ejb-name> | |
<ejb-class>org.jbpm.kie.services.impl.CompositeAsyncAuditLogReceiver</ejb-class> | |
<transaction-type>Container</transaction-type> | |
<activation-config> | |
<activation-config-property> | |
<activation-config-property-name>destinationType</activation-config-property-name> | |
<activation-config-property-value>javax.jms.Queue</activation-config-property-value> | |
</activation-config-property> | |
<activation-config-property> | |
<activation-config-property-name>destination</activation-config-property-name> | |
<activation-config-property-value>java:/queue/KIE.SERVER.AUDIT</activation-config-property-value> | |
</activation-config-property> | |
<activation-config-property> | |
<activation-config-property-name>maxSession</activation-config-property-name> | |
<activation-config-property-value>1</activation-config-property-value> | |
</activation-config-property> | |
</activation-config> | |
</message-driven> | |
--> | |
</enterprise-beans> | |
</ejb-jar> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment