]
Evgueni Smoliar commented on JBAS-3779:
---------------------------------------
Very professional
No links to the duplicated issue ID no reference to the FAQ URL
maxSession=n paramter results in executing N+1 MDB's at the same
time
---------------------------------------------------------------------
Key: JBAS-3779
URL:
http://jira.jboss.com/jira/browse/JBAS-3779
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JCA service
Affects Versions: JBossAS-4.0.5.GA
Environment: JBoss 4.0.5.GA JDK 1.5.0_09 on XP
Reporter: Evgueni Smoliar
Assigned To: Weston Price
Attachments: listInProcessMessages.html
I would like to limit number of concurrent MDB invocations by specifying following
configuration lines:
<activation-config-property>
<activation-config-property-name>
maxSession
</activation-config-property-name>
<activation-config-property-value>
2
</activation-config-property-value>
</activation-config-property>
JBoss always execute 1 MDB more than it was specified in the configuration. I check it
using logging and calling listInProcessMessages
jmsra.rar inflow is used. JBoss MQ configured with oracle10. If you need more
information please ask for it
Example with annotations:
@MessageDriven(name = "ExecutorMDB", activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType",
propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue =
"queue/certione/ExecutorQueue"),
@ActivationConfigProperty(propertyName = "acknowledgeMode",
propertyValue = "AUTO_ACKNOWLEDGE"),
@ActivationConfigProperty(propertyName = "maxSession", propertyValue =
"4"),
@ActivationConfigProperty(propertyName = "SubscriptionDurability",
propertyValue = "Durable") })
result of listInProcessMessages you can find in attachment
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: