You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Felix Ehm (JIRA)" <ji...@apache.org> on 2009/08/03 09:21:35 UTC
[jira] Created: (AMQ-2339) Enforcing persistent mode for incoming
messages
Enforcing persistent mode for incoming messages
-----------------------------------------------
Key: AMQ-2339
URL: https://issues.apache.org/activemq/browse/AMQ-2339
Project: ActiveMQ
Issue Type: Improvement
Components: Broker
Affects Versions: 5.2.0
Reporter: Felix Ehm
Priority: Minor
Fix For: 5.4.0
It would be valuable to have a possibility to enforce the persistence mode for incoming messages from clients.
In our case, one client connected and sent persistent messages with TTL=0 to a queue without having a consuming client. This caused the broker to pile up the messages until it died due to missing space (disk & mem).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AMQ-2339) Enforcing persistent mode for incoming
messages
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies updated AMQ-2339:
----------------------------
Fix Version/s: (was: 5.4.0)
5.3.0
> Enforcing persistent mode for incoming messages
> -----------------------------------------------
>
> Key: AMQ-2339
> URL: https://issues.apache.org/activemq/browse/AMQ-2339
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.2.0
> Reporter: Felix Ehm
> Assignee: Rob Davies
> Priority: Minor
> Fix For: 5.3.0
>
> Attachments: ForcePersistencyModeBroker.java, ForcePersistencyModeBrokerPlugin.java
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> It would be valuable to have a possibility to enforce the persistence mode for incoming messages from clients.
> In our case, one client connected and sent persistent messages with TTL=0 to a queue without having a consuming client. This caused the broker to pile up the messages until it died due to missing space (disk & mem).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AMQ-2339) Enforcing persistent mode for incoming
messages
Posted by "Felix Ehm (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Ehm updated AMQ-2339:
---------------------------
Attachment: ForcePersistencyModeBrokerPlugin.java
ForcePersistencyModeBroker.java
A new Broker plugin which realizes the requested feature of enforcing persistence mode for incoming messages.
> Enforcing persistent mode for incoming messages
> -----------------------------------------------
>
> Key: AMQ-2339
> URL: https://issues.apache.org/activemq/browse/AMQ-2339
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.2.0
> Reporter: Felix Ehm
> Priority: Minor
> Fix For: 5.4.0
>
> Attachments: ForcePersistencyModeBroker.java, ForcePersistencyModeBrokerPlugin.java
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> It would be valuable to have a possibility to enforce the persistence mode for incoming messages from clients.
> In our case, one client connected and sent persistent messages with TTL=0 to a queue without having a consuming client. This caused the broker to pile up the messages until it died due to missing space (disk & mem).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-2339) Enforcing persistent mode for incoming
messages
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53434#action_53434 ]
Rob Davies commented on AMQ-2339:
---------------------------------
Patch applied in revision 800274
> Enforcing persistent mode for incoming messages
> -----------------------------------------------
>
> Key: AMQ-2339
> URL: https://issues.apache.org/activemq/browse/AMQ-2339
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.2.0
> Reporter: Felix Ehm
> Assignee: Rob Davies
> Priority: Minor
> Fix For: 5.4.0
>
> Attachments: ForcePersistencyModeBroker.java, ForcePersistencyModeBrokerPlugin.java
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> It would be valuable to have a possibility to enforce the persistence mode for incoming messages from clients.
> In our case, one client connected and sent persistent messages with TTL=0 to a queue without having a consuming client. This caused the broker to pile up the messages until it died due to missing space (disk & mem).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AMQ-2339) Enforcing persistent mode for incoming
messages
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies reassigned AMQ-2339:
-------------------------------
Assignee: Rob Davies
> Enforcing persistent mode for incoming messages
> -----------------------------------------------
>
> Key: AMQ-2339
> URL: https://issues.apache.org/activemq/browse/AMQ-2339
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.2.0
> Reporter: Felix Ehm
> Assignee: Rob Davies
> Priority: Minor
> Fix For: 5.4.0
>
> Attachments: ForcePersistencyModeBroker.java, ForcePersistencyModeBrokerPlugin.java
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> It would be valuable to have a possibility to enforce the persistence mode for incoming messages from clients.
> In our case, one client connected and sent persistent messages with TTL=0 to a queue without having a consuming client. This caused the broker to pile up the messages until it died due to missing space (disk & mem).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (AMQ-2339) Enforcing persistent mode for incoming
messages
Posted by "Felix Ehm (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Ehm resolved AMQ-2339.
----------------------------
Resolution: Fixed
The new Broker plugin is attached to the issue. To install the plugin using spring you can add these lines to the conf/activemq.xml :
<plugins>
<bean xmlns="http://www.springframework.org/schema/beans" id="forcePersistencyModeBroker" class="org.apache.activemq.plugin.ForcePersistencyModeBrokerPlugin">
<property name="persistenceFlag" value="false"/>
</bean>
</plugins>
> Enforcing persistent mode for incoming messages
> -----------------------------------------------
>
> Key: AMQ-2339
> URL: https://issues.apache.org/activemq/browse/AMQ-2339
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.2.0
> Reporter: Felix Ehm
> Priority: Minor
> Fix For: 5.4.0
>
> Attachments: ForcePersistencyModeBroker.java, ForcePersistencyModeBrokerPlugin.java
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> It would be valuable to have a possibility to enforce the persistence mode for incoming messages from clients.
> In our case, one client connected and sent persistent messages with TTL=0 to a queue without having a consuming client. This caused the broker to pile up the messages until it died due to missing space (disk & mem).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.