[jboss-jira] [JBoss JIRA] (JGRP-1542) RELAY2: preserve messages flags when forwarding / routing / delivering messages

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Nov 21 03:25:21 EST 2012


Bela Ban created JGRP-1542:
------------------------------

             Summary: RELAY2: preserve messages flags when forwarding / routing / delivering messages
                 Key: JGRP-1542
                 URL: https://issues.jboss.org/browse/JGRP-1542
             Project: JGroups
          Issue Type: Enhancement
            Reporter: Bela Ban
            Assignee: Bela Ban
            Priority: Minor
             Fix For: 3.3


When forwarding a message to the local site master, routing a message from the site master over the bridge to a remote site master and delivering a message received from a remote site master in the local site, the original message M is marshalled into a byte buffer and tucked into a new message M'.
However, M' does *not* copy the flags of M. So, for instance, if M was tagged as OOB, M' won't be OOB, therefore forwarding, routing and delivering locally won't be done on the OOB thread pool. Only when M' is unpacked, then M will have the original flags preserved.
SOLUTION:
Copy the flags of the original message into the wrapping message used to forward, route and deliver the original message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list