Hi,

It seems like this is bug in tomee+1.5.1. Because I am not able to process
the message concurrently by  MDB . If not then can  someone point out the
problem in my  configuration below.

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.QueueConnectionFactory">
                ResourceAdapter = MqAdapter
                PoolMaxSize 20
                TransactionSupport none
        
</Resource>
<Container id="MyJmsMdbContainer" ctype="MESSAGE">
        resourceAdapter = MqAdapter
                activationSpecClass = 
org.apache.activemq.ra.ActiveMQActivationSpec
                InstanceLimit 0
                messageListenerInterface = javax.jms.MessageListener
</Container>
<Resource id="RequestQueue" type="javax.jms.Queue">
</Resource>

ejb-jar.xml:

<ejb-jar >
        <enterprise-beans>
    <message-driven>
      <ejb-name>AsynchEngineBean</ejb-name>
      <ejb-class>com.rage.AsynchEngineBean</ejb-class>
      <messaging-type>javax.jms.MessageListener</messaging-type>
      <transaction-type>Container</transaction-type>
      <activation-config>
    <activation-config-property>
    
   
<activation-config-property-name>destination</activation-config-property-name>
   
<activation-config-property-value>RequestQueue</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>maxMessagesPerSessions
</activation-config-property-name>
                
<activation-config-property-value>1</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> 
                  
                   
                  <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>
      
      <resource-ref>
                <res-ref-name>RageJmsConnectionFactory</res-ref-name>
                <res-type>javax.jms.ConnectionFactory</res-type>
        </resource-ref>
        
    </message-driven>
  </enterprise-beans>
  
  <assembly-descriptor>
                <message-destination>
        <message-destination-name>RequestQueue</message-destination-name>
        </message-destination>
        
        </assembly-descriptor>
</ejb-jar>

Thanks,
Bibhuti



--
View this message in context: 
http://openejb.979440.n4.nabble.com/MDB-is-not-processing-message-concurrently-tp4660682.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to