Camel direct endpoint consumer caching

Description

When using direct Camel route endpoints in receive actions consumers are not reused at the moment. This means that each receive creates a new consumer where the old consumer is not stopped yet.

This behavior causes Camel to raise exceptions as multiple consumers are not supported by direct route endpoints.

We have to either stop the consumers after receive is done. Or even better reuse the consumer template and therefore reuse the consumers.

Environment

None

Status

Assignee

Christoph Deppisch

Reporter

Christoph Deppisch

Labels

None

Epic Name <span class="error">&#91;deprecated, this field is no longer being used&#93;</span>

None

External issue ID

None

Components

Fix versions

Affects versions

2.2

Priority

Major