[ 
https://issues.apache.org/jira/browse/QPID-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Gazzarini updated QPID-1463:
-----------------------------------

    Attachment: qpid_java_management_client_types.patch
                qpid_java_common_codec.patch

Hi all, 
those 2 patches should solve this issue.

Basically, the first one is a patch that must be applied on qpid/java/common 
subproject, while the second one is relative to qpid/java/management subproject.

Those changes have been made :

1) On java / common subproject :

- Added read / write methods on org.apache.qpid.transport.codec.Encoder / 
org.apache.qpid.transport.codec.Decoder;
- Added the corresponding implementation on 
org.apache.qpid.transport.codec.BBEncoder / 
org.apache.qpid.transport.codec.BBDecoder
- Added comments on org.apache.qpid.transport.codec.Encoder / 
org.apache.qpid.transport.codec.Decoder;
- Removed org.apache.qpid.transport.codec.ManagementEncoder / 
org.apache.qpid.transport.codec.ManagementDecoder.

2) On java / management / client subproject :

- Added 6 data types (Int8, Int16, Int32, Int64, Double and Float);
- Added type mappings with the data types above according to management 
specifications;
- Removed all references to ManagementEncoder / Decoder classes; Now Qman is 
using (whenever is possible) Decoder / Encoder and when some specific method is 
needed then the BBDecoder / BBEncoder is used. 
- Some test case adjustment;

If someone should apply those patch should be nice...

Best regards,
Andrea

> QMan does not support all available data types
> ----------------------------------------------
>
>                 Key: QPID-1463
>                 URL: https://issues.apache.org/jira/browse/QPID-1463
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>    Affects Versions: M4
>            Reporter: Ted Ross
>             Fix For: M4
>
>         Attachments: qpid_java_common_codec.patch, 
> qpid_java_management_client_types.patch
>
>
> QMan does not implement support for all of the types that may be found in QMF 
> schemata.  For example, the floating point types float and double are not 
> supported.
> Here is the list of QMF types and their numeric type codes:
> ||code||amqp type|
> |1|uint8|
> |2|uint16|
> |3|uint32|
> |4|uint64|
> |6|str8|
> |7|str16|
> |8|absTime(int64)|
> |9|deltaTime(uint64)|
> |10|objectReference(bin128)|
> |11|boolean(uint8)|
> |12|float|
> |13|double|
> |14|uuid|
> |15|map|
> |16|int8|
> |17|int16|
> |18|int32|
> |19|int64|

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to