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

Siddhesh Poyarekar updated QPID-3906:
-------------------------------------

    Attachment: 0001-java-ListMessage-support.patch

Attached patch is the implementation I wrote for ListMessage. A ListMessage can 
act as a MapMessage as well as StreamMessage so that a JMS compliant client can 
also accept these messages and process them without having to use a ListMessage 
interface. To be able to create a ListMessage, one must use the extension 
org.apache.qpid.jms.Session.createListMessage().

The patch also includes test cases for this message type as well as code 
examples for usage demo.
                
> Implement a ListMessage interface to accept amqp/list messages as 
> java.util.List
> --------------------------------------------------------------------------------
>
>                 Key: QPID-3906
>                 URL: https://issues.apache.org/jira/browse/QPID-3906
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>            Reporter: Siddhesh Poyarekar
>         Attachments: 0001-java-ListMessage-support.patch, 
> 0001-java-ListMessage-support.patch
>
>
> Currently, the qpid java client accepts amqp/list messages as a 
> javax.jms.BytesMessage. This is not good because it means that one cannot 
> easily use the java client to write QMF clients. I have written an interface 
> org.apache.qpid.jms.ListMessage that extends the javax.jms.StreamMessage 
> interface. Attachment and details coming up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to