Skip to content

Use a provider to create JMS ConnectionFactory and avoid Serialization issues #17954

@damccorm

Description

@damccorm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions