Skip to content

Unable to configure error message strategy for JMS channel adapters and gateways #10046

Closed
@matthera

Description

@matthera

In what version(s) of Spring Integration are you seeing this issue?

2.0.4.RELEASE -> LATEST (currently 6.5.0-RC1)

Describe the bug

The ChannelPublishingJmsMessageListener fails to proxy the setErrorMessageStrategy/getErrorMessageStrategy methods on its internal GatewayDelegate. This makes setting the error message strategy for message driven JMS channel adapters and gateways impossible.

To Reproduce

  1. Call the 'setErrorMessageStrategy' method on ChannelPublishingJmsMessageListener.
  2. Notice the code compilation error.

Expected behavior

The ChannelPublishingJmsMessageListener should proxy the setErrorMessageStrategy/getErrorMessageStrategy methods on its internal GatewayDelegate.

Sample

n/a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions