Hi,
Yeah, you get it.
More accurately, if there's no DONE in your working flow, then each
request will block a thread, consequently more and more thread will
be blocked, if all thread used up from the thread pool, you'll see the
hang.
So you need figure out where your working flow miss a DONE which cause
a incomplete MEP(message exchange pattern), it's totally depend on
your own business logic, we can't tell you where you need add DONE as
we have no idea about your working flow.
Freeman
On 2011-5-12, at 上午3:09, david.jaiyeola wrote:
Hi everyone, we are running servicemix-3.1 in production and it
hangs after
some processing. its actually a webapp that runs on jetty. On our
local
machines the hanging doesnt happen. I turned on the debbuging for
servicemix
and based on the readings i have made online found out that whenever a
message is processed and the status is not set to DONE/ERROR, it
blocks the
next message from getting processed and servicemix hangs until we
restart.
My question is that is there a way i can set the status to done
incode so
that subsequent messages can be processed?
Or better still what is the best solution to it. We have a class
called
Serviceselectorcomponent which extends Transformcomponentsupport which
routes messages to other components.
Thanks to you all....
--
View this message in context:
http://servicemix.396122.n5.nabble.com/servicemix-hangs-because-of-status-tp4388240p4388240.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
Connect at CamelOne May 24-26
The Open Source Integration Conference