You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2017/03/17 13:42:41 UTC
[jira] [Commented] (CAMEL-10337) camel-asterix - Endpoint should be
singleton
[ https://issues.apache.org/jira/browse/CAMEL-10337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929985#comment-15929985 ]
Luca Burgazzoli commented on CAMEL-10337:
-----------------------------------------
[~fabryprog] I reworked the component to fix the singleton issue and a few additional stuffs for the upcoming camel 2.19.0, can you have a look ?
> 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
> 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)