You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ron Gavlin (JIRA)" <ji...@apache.org> on 2008/09/12 20:10:52 UTC
[jira] Commented: (SM-1576) Change endpoints lifecycle to use init
/ start / stop / shutdown
[ https://issues.apache.org/activemq/browse/SM-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45667#action_45667 ]
Ron Gavlin commented on SM-1576:
--------------------------------
Does the cxf-bc consumer require this change as well?
> Change endpoints lifecycle to use init / start / stop / shutdown
> ----------------------------------------------------------------
>
> Key: SM-1576
> URL: https://issues.apache.org/activemq/browse/SM-1576
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-common
> Reporter: Guillaume Nodet
> Fix For: 3.3
>
>
> Change servicemix-common in the following way:
> * refactor the existing start / stop method into init / shutdown (along with the doStart and doStop methods)
> * add new start / stop methods with empty implementation in the Endpoint class
> * use these new init / start / stop / shutdown lifecycle in the service unit
> * implement start / stop for the polling endpoints
> * implement start / stop for the jms consumer endpoint (it should start / stop the listener container)
> * implement start / stop for the http consumer (a stopped endpoint should return an 503 Service Unavailable http status code)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.