You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 17:23:53 UTC

[GitHub] [beam] kennknowles opened a new issue, #18322: XmlIO could work with a PCollection

kennknowles opened a new issue, #18322:
URL: https://github.com/apache/beam/issues/18322

   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:
   
   ```
   
   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", ...))
   
   ```
   
   
   Imported from Jira [BEAM-2228](https://issues.apache.org/jira/browse/BEAM-2228). Original Jira may contain additional context.
   Reported by: jbonofre.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org