Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.19.0
-
Component/s: None
-
Labels:None
-
Estimated Complexity:Unknown
Description
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.