Menu

#3 Bug in EMS MessageListenerContainerObjectDefinitionParser

open
nobody
None
5
2009-12-03
2009-12-03
No

In the ParseContainer method of Spring.Messaging.Ems.Config.MessageListenerContainerObjectDefinitionParser, Lines 274-278, concurrency is a string so there should not be any index specified for the value of the "ConcurrentConsumers" property added to the container definition.

Current Code:

string concurrency = ParseConcurrency(containerElement, parserContext);
if (concurrency != null)
{
containerDef.AddPropertyValue("ConcurrentConsumers", concurrency[1]);
}

should be

Corrected Code:

string concurrency = ParseConcurrency(containerElement, parserContext);
if (concurrency != null)
{
containerDef.AddPropertyValue("ConcurrentConsumers", concurrency);
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.