[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1468) Eliminate message.copy on DLQ and Expire. Instead just creating a new reference to the same message.
Tim Fox (JIRA)
jira-events at lists.jboss.org
Wed Dec 17 03:50:54 EST 2008
[ https://jira.jboss.org/jira/browse/JBMESSAGING-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12443030#action_12443030 ]
Tim Fox commented on JBMESSAGING-1468:
--------------------------------------
Message copying is necessary when sending a message to DLQ or expiry queue.
This is because the same message can be sent to a topic with many subscribers. Each subscriber can then expire or dlq the message at a different time, with different values of properties.
If we didn't copy it that wouldn't work.
> Eliminate message.copy on DLQ and Expire. Instead just creating a new reference to the same message.
> ----------------------------------------------------------------------------------------------------
>
> Key: JBMESSAGING-1468
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1468
> Project: JBoss Messaging
> Issue Type: Task
> Reporter: Clebert Suconic
> Assignee: Tim Fox
>
> DLQ and Expire are copying Messages between queues, by assigning a new ID.
> This will be a problem with LargeMessages. (Say if a message has 2G. The move will need to copy a file around on the server file, and this could lead to timeouts since Expire could be generated from the user side).
> This would be a problem with replication also.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list