Hi any specific config in your activemq.xml which could limit it? maybe check through jmx (active it in activemq.xml) you have not a limit set) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014-02-10 17:40 GMT+01:00 Leonardo K. Shikida <shik...@gmail.com>: > Hi > > I was following this to try to push more MDBs do consume from a single queue > > http://openejb.979440.n4.nabble.com/30-Limit-td981453.html > > I am trying this > > tomee.xml > > <Resource id="Default JMS Resource Adapter" > type="ActiveMQResourceAdapter"> > BrokerXmlConfig = xbean:file:/pathto/activemq.xml > ServerUrl = tcp://0.0.0.0:61616 > threadPoolSize 100 > </Resource> > > <Container id="Foo" type="MESSAGE"> > InstanceLimit 100 > </Container> > > and in the MDB > > (...) > @ActivationConfigProperty( > propertyName = "maxSessions", > propertyValue = "100"), > @ActivationConfigProperty( > propertyName = "maxMessagesPerSessions", > propertyValue = "100") }) > public class MyWorker implements MessageListener { > > After that, my consumers went from 10 (default) to 20, but I'd like to push > to 100. > > Am I missing something? > > TIA > > Leo