beam icon indicating copy to clipboard operation
beam copied to clipboard

Use a provider to create JMS ConnectionFactory and avoid Serialization issues

Open kennknowles opened this issue 3 years ago • 2 comments

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. Original Jira may contain additional context. Reported by: jbonofre.

kennknowles avatar Jun 03 '22 16:06 kennknowles

.take-issue

tilgalas avatar May 13 '24 10:05 tilgalas

I guess we can close this?

tilgalas avatar Jun 26 '24 15:06 tilgalas