[
https://issues.apache.org/jira/browse/BEAM-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17179888#comment-17179888
]
Beam JIRA Bot commented on BEAM-2228:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> XmlIO could work with a PCollection
> -----------------------------------
>
> Key: BEAM-2228
> URL: https://issues.apache.org/jira/browse/BEAM-2228
> Project: Beam
> Issue Type: New Feature
> Components: io-ideas
> Reporter: Jean-Baptiste Onofré
> Priority: P2
> Labels: stale-P2
>
> Currently, {{XmlIO}} can "only" read from a XML file (using {{from()}}).
> I could be interesting to have XmlIO "generic" {{PTransform}} to convert each
> element in an incoming {{PCollection}} as POJO.
> For instance, doing something like:
> {code}
> pipeline.apply("Receive XML from JMS",
> JmsIO.read().withConnectionFactory(xx).withQueue("MyQueue"))
> .apply("Convert as POJO", XmlIO.read()...)
> .apply("Convert POJO to something else", ....)
> .apply("Store somewhere", ...))
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)