[jboss-jira] [JBoss JIRA] Closed: (JBMESSAGING-1202) When moving to DLQ - allow orig message id etc to be specifed in headers
Jeff Mesnil (JIRA)
jira-events at lists.jboss.org
Wed Jan 14 07:42:04 EST 2009
[ https://jira.jboss.org/jira/browse/JBMESSAGING-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Mesnil closed JBMESSAGING-1202.
------------------------------------
Resolution: Done
when moving to DLQ, original headers are stored in JBOSS_MESSAGING_ORIG_MESSAGE_ID and JBOSS_MESSAGING_ORIG_DESTINATION headers (plus JBOSS_MESSAGING_ACTUAL_EXPIRY_TIME when the message is moved to the expiry queue) in ServerSessionEndpoint.makeCopyForDLQOrExpiry method
> When moving to DLQ - allow orig message id etc to be specifed in headers
> ------------------------------------------------------------------------
>
> Key: JBMESSAGING-1202
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1202
> Project: JBoss Messaging
> Issue Type: Task
> Reporter: Tim Fox
> Assignee: Tim Fox
> Fix For: 2.0.0 Beta
>
>
> See ServerSessionEndpoint:
> String origMessageId = msg.getJMSMessageID();
> //
> // String origDest = msg.getJMSDestination().toString();
> //
> // copy.setStringProperty(JBossMessage.JBOSS_MESSAGING_ORIG_MESSAGE_ID, origMessageId);
> //
> // copy.setStringProperty(JBossMessage.JBOSS_MESSAGING_ORIG_DESTINATION, origDest);
> //
> // if (expiry)
> // {
> // long actualExpiryTime = System.currentTimeMillis();
> //
> // copy.setLongProperty(JBossMessage.JBOSS_MESSAGING_ACTUAL_EXPIRY_TIME, actualExpiryTime);
> // }
--
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