It seems "maxSessions" is not working as expected in  tomee 1.5.1 as it is
not starting executing the message concurrently. 

Ejb-jar.xml:

 </activation-config-property> 
                     <activation-config-property>
                <activation-config-property-name>maxMessagesPerSessions
</activation-config-property-name>
                
<activation-config-property-value>2</activation-config-property-value>
         </activation-config-property> 
                  <activation-config-property>
                   
<activation-config-property-name>maxSessions</activation-config-property-name>
                   
<activation-config-property-value>12</activation-config-property-value>
                  </activation-config-property> 

tomee.xml:
<Resource id="MqAdapter" type="ActiveMQResourceAdapter">
        BrokerXmlConfig = broker:(tcp://localhost:61616)
        ServerUrl       = vm://localhost?async=false
        ThreadPoolSize 30
</Resource>
<Resource id="RageJmsConnectionFactory" type="javax.jms.ConnectionFactory">
                ResourceAdapter = MqAdapter
                PoolMaxSize 20
                TransactionSupport none
        
</Resource>
<Container id="MyJmsMdbContainer" ctype="MESSAGE">
        resourceAdapter = MqAdapter
                activationSpecClass = 
org.apache.activemq.ra.ActiveMQActivationSpec
                InstanceLimit 2
                messageListenerInterface = javax.jms.MessageListener
</Container>
<Resource id="RequestQueue" type="javax.jms.Queue">
</Resource>





--
View this message in context: 
http://openejb.979440.n4.nabble.com/Exception-in-thread-ActiveMQ-VMTransport-vm-localhost-0-2-java-lang-Interna-lError-java-lang-Interna-tp4660632p4660681.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to