You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Vojtech <vo...@email.cz> on 2010/02/26 16:17:50 UTC

ActiveMQ-CPP

Hi

Does anyone know why PooledTaskRunner class is missing in activemq-cpp
library? I noticed that

http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/threads/

is missing the class while 

http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/

has it. Is there any particular (language related) reason for this or has it
just not been implemented? In activemq-cpp DedicatedTaskRunner is always
used so many threads get started which may get people into trouble...

Thank you!
-- 
View this message in context: http://old.nabble.com/ActiveMQ-CPP-tp27719495p27719495.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQ-CPP

Posted by Vojtech <vo...@email.cz>.


Timothy Bish wrote:
> 
> On Fri, 2010-02-26 at 07:17 -0800, Vojtech wrote:
>> Hi
>> 
>> Does anyone know why PooledTaskRunner class is missing in activemq-cpp
>> library? I noticed that
>> 
>> http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/threads/
>> 
>> is missing the class while 
>> 
>> http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/
>> 
>> has it. Is there any particular (language related) reason for this or has
>> it
>> just not been implemented? In activemq-cpp DedicatedTaskRunner is always
>> used so many threads get started which may get people into trouble...
>> 
>> Thank you!
> 
> C++ just doesn't have the same threading support built in as Java does
> so as of now there is no implementation of this class in ActiveMQ-CPP.
> You are welcome to contribute to the project though, we welcome patches.
> 
> Regards
> 
> 
> 
> -- 
> Tim Bish
> 
> Open Source Integration: http://fusesource.com
> ActiveMQ in Action: http://www.manning.com/snyder/
> 
> Follow me on Twitter: http://twitter.com/tabish121
> My Blog: http://timbish.blogspot.com/
> 
> 
> 

Is using the decaf classes the right way to do that?

Thanks!

-- 
View this message in context: http://old.nabble.com/ActiveMQ-CPP%3A-PooledTaskRunner-not-implemented--tp27719495p27756128.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQ-CPP

Posted by Timothy Bish <ta...@gmail.com>.
On Fri, 2010-02-26 at 07:17 -0800, Vojtech wrote:
> Hi
> 
> Does anyone know why PooledTaskRunner class is missing in activemq-cpp
> library? I noticed that
> 
> http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/threads/
> 
> is missing the class while 
> 
> http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/
> 
> has it. Is there any particular (language related) reason for this or has it
> just not been implemented? In activemq-cpp DedicatedTaskRunner is always
> used so many threads get started which may get people into trouble...
> 
> Thank you!

C++ just doesn't have the same threading support built in as Java does
so as of now there is no implementation of this class in ActiveMQ-CPP.
You are welcome to contribute to the project though, we welcome patches.

Regards



-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/