[ 
https://issues.apache.org/activemq/browse/SMX4NMR-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46153#action_46153
 ] 

Guillaume Nodet commented on SMX4NMR-24:
----------------------------------------

In m2, when not using the JBI packaging, deployed endpoints do not follow the 
JBI lifecycle which leads to not being able to cleanly shutdown the jbi 
application.  This is now implemented.

Sending        trunk/jbi/deployer/pom.xml
Adding         
trunk/jbi/deployer/src/main/java/org/apache/servicemix/jbi/deployer/DeployedAssembly.java
Sending        
trunk/jbi/deployer/src/main/java/org/apache/servicemix/jbi/deployer/impl/Deployer.java
Sending        
trunk/jbi/deployer/src/main/java/org/apache/servicemix/jbi/deployer/impl/ServiceUnitImpl.java
Transmitting file data ....
Committed revision 701366.

Sending        trunk/servicemix-common/pom.xml
Sending        
trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointExporter.java
Sending        
trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointTracker.java
Adding         trunk/servicemix-common/src/main/java/org/apache/servicemix/jbi
Adding         
trunk/servicemix-common/src/main/java/org/apache/servicemix/jbi/deployer
Adding         
trunk/servicemix-common/src/main/java/org/apache/servicemix/jbi/deployer/DeployedAssembly.java
Transmitting file data ....
Committed revision 701368.

> Lifecycle / clean shutdown
> --------------------------
>
>                 Key: SMX4NMR-24
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-24
>             Project: ServiceMix NMR
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 1.0-m3
>
>
> We need to find a way to provide a clean shutdown of the NMR without loosing 
> any messages.
> This means that Binding Components must stop accepting new requets (http, 
> jms, etc..) while the pending messages are still be processed.  When all 
> messages have been processed, all components / endpoints can be shutdown.
> Maybe we need to add a method on the Endpoint interface like pause() / 
> resume() that would only affect BC consumers and would inform them to stop 
> consuming messages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to