You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2020/03/05 14:33:00 UTC
[jira] [Updated] (BEAM-676) Use a provider to create JMS
ConnectionFactory and avoid Serialization issues
[ https://issues.apache.org/jira/browse/BEAM-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía updated BEAM-676:
------------------------------
Summary: Use a provider to create JMS ConnectionFactory and avoid Serialization issues (was: Use custom POJO and create JMS ConnectionFactory)
> Use a provider to create JMS ConnectionFactory and avoid Serialization issues
> -----------------------------------------------------------------------------
>
> Key: BEAM-676
> URL: https://issues.apache.org/jira/browse/BEAM-676
> Project: Beam
> Issue Type: Improvement
> Components: io-java-jms
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> The {{JmsIO}} uses JMS {{ConnectionFactory}} as configuration. Unfortunately, {{ConnectionFactory}} interface doesn't extend {{Serializable}} (even if most of the implementations are {{Serializable}}).
> Instead (as I'm doing for the {{JdbcIO}}), I propose to create a {{ConnectionFactoryConfiguration}} POJO to create the {{ConnectionFactory}} in the {{@Setup}} of the reader and writer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)