From 8c771c8ecd9bdc6b3ef0d5417db9bb9917b65fa9 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 22 Feb 2010 06:08:34 +0000 Subject: Moved component start calls from HTTPD postConfig to childInit, to give components an opportunity to start and setup connections and resources in each HTTPD child process. Adjusted utility components and test cases to this change. Minor code cleanup of Java components and integration tests. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@912491 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/components/queue/queue-listener.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sca-cpp/trunk/components/queue/queue-listener.cpp') diff --git a/sca-cpp/trunk/components/queue/queue-listener.cpp b/sca-cpp/trunk/components/queue/queue-listener.cpp index 57a63b620c..d714101583 100644 --- a/sca-cpp/trunk/components/queue/queue-listener.cpp +++ b/sca-cpp/trunk/components/queue/queue-listener.cpp @@ -100,9 +100,9 @@ public: debug("queue::listener::stop"); // TODO check why stop() and close() hang in child processes - //stop(const_cast(qsub)); - //close(const_cast(qs)); - //close(const_cast(qc)); + stop(const_cast(qsub)); + close(const_cast(qs)); + close(const_cast(qc)); cancel(const_cast(w)); debug("queue::listener::stopped"); @@ -150,7 +150,7 @@ extern "C" { const tuscany::value apply(const tuscany::list& params) { const tuscany::value func(car(params)); - if (func == "start" || func == "restart") + if (func == "start") return tuscany::queue::start(cdr(params)); return tuscany::mkfailure(); } -- cgit v1.2.3