apache / apache/beam

Use a provider to create JMS ConnectionFactory and avoid Serialization issues

Open
#18,110 2 comments 0 reactions 1 assignee Claimed by @tilgalas View on GitHub
improvement io java jms P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

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.

Imported from Jira [BEAM-676](https://issues.apache.org/jira/browse/BEAM-676). Original Jira may contain additional context.
Reported by: jbonofre.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.