Skip to content

Cannot use jms MessagePostProcessor support with WebServiceMessageDrivenBean [SWS-813] #893

@gregturn

Description

@gregturn

Guillaume Menguy opened SWS-813 and commented

The MessagePostProcessor can be injected into JmsMessageReceiver but in the WebServiceMessageDrivenBean, the JmsMessageReceiver instance field is private, has no setter, and is instantiated in the onEjbCreate() via a direct call to the constructor (no IOC support)

The only workaround is to subclass JmsMessageReceiver, rename and change the visibility of handleMessage() method and rewrite via subclass the onEjbCreate() method of WebServiceMessageDrivenBean to inject the MessagePostProcessor


Affects: 2.1.1

Referenced from: commits ddd3eaa

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions