[ 
https://issues.apache.org/jira/browse/CAMEL-10337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-10337:
--------------------------------
    Assignee: Fabrizio Spataro

> 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: Fabrizio Spataro
>            Priority: Minor
>             Fix For: 2.18.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.4#6332)

Reply via email to