You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Paulo Siqueira (JIRA)" <ji...@apache.org> on 2011/08/16 00:25:28 UTC
[jira] [Created] (AMQ-3452) add 'stop' goal to the
maven-activemq-plugin
add 'stop' goal to the maven-activemq-plugin
--------------------------------------------
Key: AMQ-3452
URL: https://issues.apache.org/jira/browse/AMQ-3452
Project: ActiveMQ
Issue Type: New Feature
Reporter: Paulo Siqueira
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3452) add 'stop' goal to the
maven-activemq-plugin
Posted by "Paulo Siqueira (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085389#comment-13085389 ]
Paulo Siqueira commented on AMQ-3452:
-------------------------------------
The problem is that the Thread that was registered as the shutdown hook still seems to be running.
> add 'stop' goal to the maven-activemq-plugin
> --------------------------------------------
>
> Key: AMQ-3452
> URL: https://issues.apache.org/jira/browse/AMQ-3452
> Project: ActiveMQ
> Issue Type: New Feature
> Reporter: Paulo Siqueira
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3452) add 'stop' goal to the
maven-activemq-plugin
Posted by "Paulo Siqueira (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085388#comment-13085388 ]
Paulo Siqueira commented on AMQ-3452:
-------------------------------------
I sort of implemented this for our internal usage - but I'm not sure its the best way. I basically added "BrokerRegistry.getInstance().bind("maven-plugin-broker", broker);" to the BrokerMojo class, and a "BrokerRegistry.getInstance().findFirst().stop();" in a new class named StopBrokerMojo.
> add 'stop' goal to the maven-activemq-plugin
> --------------------------------------------
>
> Key: AMQ-3452
> URL: https://issues.apache.org/jira/browse/AMQ-3452
> Project: ActiveMQ
> Issue Type: New Feature
> Reporter: Paulo Siqueira
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQ-3452) add 'stop' goal to the
maven-activemq-plugin
Posted by "Paulo Siqueira (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paulo Siqueira updated AMQ-3452:
--------------------------------
Description:
This would be useful in at least two scenarios. In one of them, we have a hudson building our system, and somehow the shutdown hook never gets called.
The second scenario is using the maven shell. If we don't stop activemq explicitly, it will be running already in the next build, and cause an error when trying to start a new one.
> add 'stop' goal to the maven-activemq-plugin
> --------------------------------------------
>
> Key: AMQ-3452
> URL: https://issues.apache.org/jira/browse/AMQ-3452
> Project: ActiveMQ
> Issue Type: New Feature
> Reporter: Paulo Siqueira
>
> This would be useful in at least two scenarios. In one of them, we have a hudson building our system, and somehow the shutdown hook never gets called.
> The second scenario is using the maven shell. If we don't stop activemq explicitly, it will be running already in the next build, and cause an error when trying to start a new one.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira