JGroupsBackendQueueProcessor doesn't switch from slave to master dynamically

Description

To be precise, the delegate backend is not created lazily when a node switches from slave to master. The delegate backend is currently only created in initialize(), which is only executed once for a given queue processor, and only if the node is a master when initialize() is called. Thus we probably have a NullPointerException when a node switches from slave to master dynamically.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure