[jboss-jira] [JBoss JIRA] Updated: (JBAS-3779) maxSession=n paramter results in executing N+1 MDB's at the same time

Evgueni Smoliar (JIRA) jira-events at jboss.com
Thu Nov 9 03:22:41 EST 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3779?page=all ]

Evgueni Smoliar updated JBAS-3779:
----------------------------------

    Attachment: listInProcessMessages.html

annotation limit sessions to 4
in this file you can see that 5 messages processed at the time

> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list