You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rob Davies (Created) (JIRA)" <ji...@apache.org> on 2012/04/20 11:52:40 UTC
[jira] [Created] (AMQ-3813) limit the number of producers and
consumers created by a Connection
limit the number of producers and consumers created by a Connection
-------------------------------------------------------------------
Key: AMQ-3813
URL: https://issues.apache.org/jira/browse/AMQ-3813
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" maximumConsumersAllowedPerConnection="10"/>
</amq:transportConnectors>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMQ-3813) limit the number of producers and
consumers created by a Connection
Posted by "Rob Davies (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/AMQ-3813
> 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" maximumConsumersAllowedPerConnection="10"/>
> </amq:transportConnectors>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira