Use a provider to create JMS ConnectionFactory and avoid Serialization issues
Open
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
Assessment
This issue has not been assessed yet.