GitHub user SreeramGarlapati opened a pull request: https://github.com/apache/qpid-proton/pull/54
support one or more data sections in amqpMessage This is a suggestion on how to implement the feature request PROTON-1098 and is NOT COMPLETE, although, the code works (while sending the message - I am able to send an AmqpMessage with Multiple Data sections using this implementation). Usage: While sending a Message, instead of creating the message with Data section, the following can be done: Message amqpMessage = Proton.message(); amqpMessage.setBody(new DataList(dataList)) (tagging the proton-j expert: @gemmellr to do the needful) You can merge this pull request into a Git repository by running: $ git pull https://github.com/SreeramGarlapati/qpid-proton amqpMsg.supportOneOrMoreDataSections Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-proton/pull/54.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #54 ---- commit 76559ad506e1c26aed98cadd601ddb56899607fe Author: Sreeram Garlapati <sreer...@microsoft.com> Date: 2016-01-13T18:05:45Z proton-j: Support one or more Data sections in AmqpMessage commit b6de9ba02819492a802211d80ce0acd2e3f2f3cb Author: Sreeram Garlapati <sreer...@microsoft.com> Date: 2016-01-13T18:06:15Z proton-j: Support one or more Data sections in AmqpMessage ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---