activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (AMQ-3813) limit the number of producers and consumers created by a Connection
Date Fri, 20 Apr 2012 09:52:41 GMT


Rob Davies resolved AMQ-3813.

    Resolution: Fixed

Fixed by Subversion: Committed revision 1328287.
> limit the number of producers and consumers created by a Connection
> -------------------------------------------------------------------
>                 Key: AMQ-3813
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.1
>            Reporter: Rob Davies
>            Assignee: Rob Davies
>             Fix For: 5.6.1
> Sometimes a rogue client can create an unlimited number of producers or consumers if
not developed correctly. The client is in effect launching a denial of service attack on the
broker - as it will eventually run out of memory, storing ProducerInfos and ConsumerInfos.
This enhancement enables the number of consumers and producers to be limited per connection
- by adding maximumProducersAllowedPerConnection and maximumConsumersAllowedPerConnection
properties to the transport connector - e.g.
> <amq:transportConnectors>
>    <amq:transportConnector uri="tcp://localhost:61631" maximumProducersAllowedPerConnection="5"
> </amq:transportConnectors>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message