You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Danushka Menikkumbura (JIRA)" <ji...@apache.org> on 2011/06/27 20:46:47 UTC
[jira] [Created] (QPID-3323) Make main method throw an exception
when something goes wrong at start up so that a host applicaton can act
accordingly
Make main method throw an exception when something goes wrong at start up so that a host applicaton can act accordingly
-----------------------------------------------------------------------------------------------------------------------
Key: QPID-3323
URL: https://issues.apache.org/jira/browse/QPID-3323
Project: Qpid
Issue Type: Improvement
Reporter: Danushka Menikkumbura
Assignee: Robbie Gemmell
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Commented] (QPID-3323) Make main method throw an exception
when something goes wrong at start up so that a host applicaton can act
accordingly
Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055702#comment-13055702 ]
Robbie Gemmell commented on QPID-3323:
--------------------------------------
Hi Danushka,
The Main class really isnt intended for use in this fashion, which is why you are running into issues such as QPID-3323 and QPID-2794. As part of the work I am currently doing the broker startup is seperated from the Main class entirely, which should give you the functionality you seem to be looking for without resorting to hacking at Main in the ways these patches do. I'll update these JIRAs once that work is available.
Robbie
> Make main method throw an exception when something goes wrong at start up so that a host applicaton can act accordingly
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3323
> URL: https://issues.apache.org/jira/browse/QPID-3323
> Project: Qpid
> Issue Type: Improvement
> Reporter: Danushka Menikkumbura
> Assignee: Robbie Gemmell
> Attachments: QPID-3323.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Closed] (QPID-3323) Make main method throw an exception
when something goes wrong at start up so that a host applicaton can act
accordingly
Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell closed QPID-3323.
--------------------------------
Resolution: Not A Problem
Closing out. There isn't really a matching resolution given the above, so just going with Not A Problem.
> Make main method throw an exception when something goes wrong at start up so that a host applicaton can act accordingly
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3323
> URL: https://issues.apache.org/jira/browse/QPID-3323
> Project: Qpid
> Issue Type: Improvement
> Reporter: Danushka Menikkumbura
> Assignee: Robbie Gemmell
> Attachments: QPID-3323.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Updated] (QPID-3323) Make main method throw an exception
when something goes wrong at start up so that a host applicaton can act
accordingly
Posted by "Danushka Menikkumbura (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danushka Menikkumbura updated QPID-3323:
----------------------------------------
Attachment: QPID-3323.patch
> Make main method throw an exception when something goes wrong at start up so that a host applicaton can act accordingly
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3323
> URL: https://issues.apache.org/jira/browse/QPID-3323
> Project: Qpid
> Issue Type: Improvement
> Reporter: Danushka Menikkumbura
> Assignee: Robbie Gemmell
> Attachments: QPID-3323.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Commented] (QPID-3323) Make main method throw an exception
when something goes wrong at start up so that a host applicaton can act
accordingly
Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063879#comment-13063879 ]
Robbie Gemmell commented on QPID-3323:
--------------------------------------
Hi Danushka,
The broker startup refactoring I mentioned above has now been committed (mainly QPID-2815). This provides a cleaner way to configure and start Broker instances within the same JVM as other components, giving ability for the calling applications to control exception handling and isolating the presence of System.exit() calls in the Main class, outwith the actual startup/shutdown code path. As a result of this I am going to close QPID-3323 and QPID-2794.
You can see example of how to use and configure one of the new Broker instances by looking at the now significantly reduced Main class. Please let us know if you have any problems using the refactored system to achieve your goal and we can look how best to resolve the issue.
Regards,
Robbie
> Make main method throw an exception when something goes wrong at start up so that a host applicaton can act accordingly
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3323
> URL: https://issues.apache.org/jira/browse/QPID-3323
> Project: Qpid
> Issue Type: Improvement
> Reporter: Danushka Menikkumbura
> Assignee: Robbie Gemmell
> Attachments: QPID-3323.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org