[
https://issues.apache.org/jira/browse/CAMEL-10337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luca Burgazzoli resolved CAMEL-10337.
-------------------------------------
Resolution: Fixed
> camel-asterix - Endpoint should be singleton
> --------------------------------------------
>
> Key: CAMEL-10337
> URL: https://issues.apache.org/jira/browse/CAMEL-10337
> Project: Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Luca Burgazzoli
> Priority: Minor
> Fix For: 2.19.0
>
>
> We should favor to not store state on the endpoint but keep them as plain
> configuration.
> I added a TODO in the endpoint source code.
> Also is the hostname option required to be configured? I think so, and if so
> then add required=true to the UriParam. And also add some logic to check its
> configured.
> And also when the consumer stops, then the listener should be removed, eg
> when you add a listetener, you should consider to also remove it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)