[
https://issues.apache.org/jira/browse/PROTON-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101959#comment-15101959
]
ASF GitHub Bot commented on PROTON-1098:
----------------------------------------
Github user gemmellr commented on the pull request:
https://github.com/apache/qpid-proton/pull/54#issuecomment-171998673
The other sections don't exist on the message unless something is done to
create them (they are all optional) so they wont be encoded in that case. I
added a test showing that, which happens to do a simplistic variant of the
third option in the process. I'd suggest that you probably want to add such a
test on your side as well anyway.
> Add support for one or More Data Sections in AmqpMessage
> --------------------------------------------------------
>
> Key: PROTON-1098
> URL: https://issues.apache.org/jira/browse/PROTON-1098
> Project: Qpid Proton
> Issue Type: New Feature
> Components: proton-j
> Affects Versions: 0.12.0
> Reporter: Sreeram Garlapati
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> As per Amqp 1.0 spec:
> http://docs.oasis-open.org/amqp/core/v1.0/amqp-core-complete-v1.0.pdf,
> AmqpMessage MessageFormat:0 should allow having one or more data sections.
> Reference from the Spec:
> "Thebodyconsistsofoneofthefollowingthreechoices:
> oneormoredatasections,oneormoreamqp-sequence sections, or a single amqp-value
> section".
> This is a feature request from Windows Azure EventHubs team. This is heavily
> used for enabling critical scenarios. I deeply Appreciate your help here.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)