Well, before read your reply, yesterday we went to this page
http://activemq.apache.org/activation-spec-properties.html and we saw the
"maxSessions", "maxMessagesPerSessions" and "maxMessagesPerBatch"
properties.
Apparently this is the solution we were looking for, because changing its
value our MDB is able to consume more than 10 messages at same time.

To do this, we saw that we can change the "ejb-jar.xml" project file or we
can use "annotations" inside the MDB code.
But from my point of view this is a very bad way to develop, because if in
the future I will need to change these values I will have to re-build and
re-deploy my software.
Is it possible ?

My software has more than one production environment and each environment
has a different context and traffic volume.
Is there a way to configure or change these default values externally ?



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/MDB-config-settings-ignored-tp4671419p4671442.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to