Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Looking to extend the ThreadPoolExecutor used by the RTMP-Worker thread

Avatar

Avatar
Level 1
tmuldo
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
tmuldo
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
tmuldo
Level 1

30-01-2009

In JBoss 4.2.3, the RTMP-Worker thread uses the
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
by default. I want to use a custom ThreadPoolExecutor that extends
it instead but I don't know how to inform JBoss, or is it Flex, to
use my custom ThreadPoolExecutor instead. I've posted this same
note in the JBoss forums but have not had any response as of yet.
As such, I'm reaching out to the Flex community.



Thanks, Tom



PS. Here's a small stack trace that depicts the
ThreadPoolExecutor class (and related Flex classes)...



Daemon Thread [RTMP-Worker-61] (Suspended (breakpoint at line
119 in com.firstbest.flex.RemotingServiceJavaAdapter))


com.xyz.flex.RemotingServiceJavaAdapter.invoke(flex.messaging.messages.Message)
line: 119


flex.messaging.services.RemotingService.serviceMessage(flex.messaging.messages.Message)
line: 173


flex.messaging.MessageBroker.routeMessageToService(flex.messaging.messages.Message,
flex.messaging.endpoints.Endpoint) line: 1171


flex.messaging.endpoints.RTMPEndpoint(flex.messaging.endpoints.AbstractEndpoint).serviceMessage(flex.messaging.messages.Message)
line: 759


flex.messaging.endpoints.rtmp.NIORTMPServer(flex.messaging.endpoints.rtmp.AbstractRTMPServer).dispatchMessage(flex.messaging.endpoints.rtmp.RTMPConnection,
flex.messaging.io.tcchunk.TCMessage) line: 895


flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run()
line: 439


edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(java.lang.Runnable)
line: 665


edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run()
line: 690

java.lang.Thread.run() line: 595