You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2006/12/22 21:26:21 UTC
[jira] Updated: (QPID-229) Alter implementation of FieldTable to
encapsualte each type in its own enum instance
[ http://issues.apache.org/jira/browse/QPID-229?page=all ]
Rob Godfrey updated QPID-229:
-----------------------------
Attachment: QPID-229.patch
As described - change FieldTable / PropertyFieldTable so that it no longer has to behave as a map.
Internally it can be represented as a Map (String->(Type,Object)).
We no longer need two separate maps internally.
> Alter implementation of FieldTable to encapsualte each type in its own enum instance
> ------------------------------------------------------------------------------------
>
> Key: QPID-229
> URL: http://issues.apache.org/jira/browse/QPID-229
> Project: Qpid
> Issue Type: Improvement
> Components: Java Common
> Reporter: Rob Godfrey
> Priority: Minor
> Attachments: QPID-229.patch
>
>
> After implementing the JMSMapMessage as a Stream Message, rather than a FieldTable, now implement FieldTable in a way that removes the need for it to pretend that it is a true Map. Also encapsulate the behaviour of eaxch of the AMQ Types into an enum instance to take out the lengthy case statements in the code.
> As FieldTable is no longer a Map, some code in HeadersExchange also needs changin
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira